InteractionResponseBuilder class

Inheritance

Constructors

InteractionResponseBuilder({required InteractionCallbackType type, required dynamic data})
InteractionResponseBuilder.autocompleteResult(List<CommandOptionChoiceBuilder> choices)
factory
InteractionResponseBuilder.channelMessage(MessageBuilder message, {bool? isEphemeral})
factory
InteractionResponseBuilder.deferredChannelMessage({bool? isEphemeral})
factory
InteractionResponseBuilder.deferredUpdateMessage()
factory
InteractionResponseBuilder.modal(ModalBuilder modal)
factory
InteractionResponseBuilder.pong()
factory
InteractionResponseBuilder.premiumRequired()
factory
InteractionResponseBuilder.updateMessage(MessageUpdateBuilder message)
factory

Properties

data ↔ dynamic
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type InteractionCallbackType
getter/setter pair

Methods

build() Map<String, Object?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited