ChatComponentData
data class ChatComponentData(val type: ComponentType, val style: Optional<ButtonStyle> = 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(), val skuId: OptionalSnowflake = OptionalSnowflake.Missing) : ComponentData(source)
Constructors
Link copied to clipboard
constructor(type: ComponentType, style: Optional<ButtonStyle> = 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(), skuId: OptionalSnowflake = OptionalSnowflake.Missing)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard