GlobalAutoCompleteInteraction
class GlobalAutoCompleteInteraction(val data: InteractionData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : AutoCompleteInteraction, GlobalInteraction(source)
An AutoCompleteInteraction that took place in a global context (e.g. a DM).
Properties
Link copied to clipboard
The id of the application the interaction is for.
Link copied to clipboard
The behavior of the channel the interaction was sent from.
Link copied to clipboard
An InteractionCommand that contains the values the user filled so far.
Link copied to clipboard
Link copied to clipboard
For monetized apps, any Entitlements for the invoking user, representing access to premium Skus.
Link copied to clipboard
The single focused option the user is currently typing.
Link copied to clipboard
The guild's preferred locale, if invoked in a guild.
Link copied to clipboard
The supplier used to request entities.
Link copied to clipboard
The type of the interaction.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline suspend fun AutoCompleteInteractionBehavior.suggestInteger(builder: IntegerOptionBuilder.() -> Unit)
Responds to the interaction with the integer choices specified by builder.
Link copied to clipboard
inline suspend fun AutoCompleteInteractionBehavior.suggestNumber(builder: NumberOptionBuilder.() -> Unit)
Responds to the interaction with the number choices specified by builder.
Link copied to clipboard
inline suspend fun AutoCompleteInteractionBehavior.suggestString(builder: StringChoiceBuilder.() -> Unit)
Responds to the interaction with the string choices specified by builder.
Link copied to clipboard