TextInputComponentData

data class TextInputComponentData(val type: ComponentType, val style: Optional<TextInputStyle> = Optional.Missing(), val label: Optional<String> = Optional.Missing(), val emoji: Optional<DiscordPartialEmoji> = Optional.Missing(), val customId: Optional<String> = Optional.Missing(), val url: Optional<String> = Optional.Missing(), val disabled: OptionalBoolean = OptionalBoolean.Missing, val components: Optional<List<ComponentData>> = Optional.Missing(), val defaultValues: Optional<List<DiscordSelectDefaultValue>> = Optional.Missing(), val placeholder: Optional<String> = Optional.Missing(), val minValues: OptionalInt = OptionalInt.Missing, val maxValues: OptionalInt = OptionalInt.Missing, val options: Optional<List<SelectOptionData>> = Optional.Missing(), val minLength: OptionalInt = OptionalInt.Missing, val maxLength: OptionalInt = OptionalInt.Missing, val required: OptionalBoolean = OptionalBoolean.Missing, val value: Optional<String> = Optional.Missing(), val channelTypes: Optional<List<ChannelType>> = Optional.Missing()) : ComponentData(source)

Constructors

Link copied to clipboard
constructor(type: ComponentType, style: Optional<TextInputStyle> = Optional.Missing(), label: Optional<String> = Optional.Missing(), emoji: Optional<DiscordPartialEmoji> = Optional.Missing(), customId: Optional<String> = Optional.Missing(), url: Optional<String> = Optional.Missing(), disabled: OptionalBoolean = OptionalBoolean.Missing, components: Optional<List<ComponentData>> = Optional.Missing(), defaultValues: Optional<List<DiscordSelectDefaultValue>> = Optional.Missing(), placeholder: Optional<String> = Optional.Missing(), minValues: OptionalInt = OptionalInt.Missing, maxValues: OptionalInt = OptionalInt.Missing, options: Optional<List<SelectOptionData>> = Optional.Missing(), minLength: OptionalInt = OptionalInt.Missing, maxLength: OptionalInt = OptionalInt.Missing, required: OptionalBoolean = OptionalBoolean.Missing, value: Optional<String> = Optional.Missing(), channelTypes: Optional<List<ChannelType>> = Optional.Missing())

Properties

Link copied to clipboard
open override val channelTypes: Optional<List<ChannelType>>
Link copied to clipboard
open override val components: Optional<List<ComponentData>>
Link copied to clipboard
open override val customId: Optional<String>
Link copied to clipboard
Link copied to clipboard
open override val disabled: OptionalBoolean
Link copied to clipboard
open override val emoji: Optional<DiscordPartialEmoji>
Link copied to clipboard
open override val label: Optional<String>
Link copied to clipboard
open override val maxLength: OptionalInt
Link copied to clipboard
open override val maxValues: OptionalInt
Link copied to clipboard
open override val minLength: OptionalInt
Link copied to clipboard
open override val minValues: OptionalInt
Link copied to clipboard
open override val options: Optional<List<SelectOptionData>>
Link copied to clipboard
open override val placeholder: Optional<String>
Link copied to clipboard
open override val required: OptionalBoolean
Link copied to clipboard
Link copied to clipboard
open override val type: ComponentType
Link copied to clipboard
open override val url: Optional<String>
Link copied to clipboard
open override val value: Optional<String>