namespace Discord.Interactions { /// /// Represents the class for type. /// public class TextInputComponentInfo : InputComponentInfo { /// /// Gets the style of the text input. /// public TextInputStyle Style { get; } /// /// Gets the placeholder of the text input. /// public string Placeholder { get; } /// /// Gets the minimum length of the text input. /// public int MinLength { get; } /// /// Gets the maximum length of the text input. /// public int MaxLength { get; } /// /// Gets the initial value to be displayed by this input. /// public string InitialValue { get; } internal TextInputComponentInfo(Builders.TextInputComponentBuilder builder, ModalInfo modal) : base(builder, modal) { Style = builder.Style; Placeholder = builder.Placeholder; MinLength = builder.MinLength; MaxLength = builder.MaxLength; InitialValue = builder.InitialValue; } } }