SelectMenuInteraction class

Inheritance

Constructors

SelectMenuInteraction(Snowflake _id, Snowflake _applicationId, int _version, int _type, String _token, Snowflake? _user, Snowflake? _guild, Message? _message, Snowflake _customId, Snowflake _channelId)
SelectMenuInteraction.from({required Message? message, required dynamic payload})
factory

Properties

applicationId Snowflake
no setterinherited
channel TextBasedChannel?
no setter
customId Snowflake
no setter
data List<String>
final
guild Guild?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id Snowflake
no setterinherited
member GuildMember?
no setterinherited
message Message?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
no setterinherited
type InteractionType
no setterinherited
user User
no setterinherited
version int
no setterinherited

Methods

getValue<T>() → T
Return the first T if this has the designed field
getValues<T>() List<T>
Return an List of T if this has the designed field
Responds to this by an ModalBuilder
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reply({String? content, List<EmbedBuilder>? embeds, List<RowBuilder>? components, bool? tts, bool? private}) Future<void>
Responds to this by an Message
inherited
toString() String
A string representation of this object.
inherited

Operators

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