ButtonInteraction class Null safety

Inheritance

Constructors

ButtonInteraction(Snowflake _id, String? _label, Snowflake _applicationId, int _version, int _typeId, String token, Snowflake? _userId, Snowflake? _guildId, Snowflake? _messageId, Snowflake _customId, Snowflake _channelId)
ButtonInteraction.fromPayload(dynamic payload)
factory

Properties

applicationId Snowflake
read-only, inherited
channel GuildChannel?
read-only
container Ioc
Service manager including the core components of the Mineral framework
read-only, inherited
customId Snowflake
read-only
guild Guild?
read-only, inherited
hashCode int
The hash code for this object.
read-only, inherited
id Snowflake
read-only, inherited
label String?
read-only, inherited
member GuildMember?
read-only, inherited
message Message?
read-only
mid Snowflake?
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
token String
read-only, inherited
type InteractionType
read-only, inherited
user User
read-only, inherited
version int
read-only, inherited

Methods

deferredReply() Future<Interaction>
Responds to this by a deferred Message (Show a loading state to the user)
inherited
delete() Future<void>
Delete original response to interaction
inherited
Responds to this by an ModalBuilder
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
reply({String? content, List<EmbedBuilder>? embeds, List<RowBuilder>? components, bool? tts, bool? private}) Future<Interaction>
Responds to this by an Message
inherited
toString() String
A string representation of this object.
inherited
updateReply({String? content, List<EmbedBuilder>? embeds, List<RowBuilder>? components}) Future<Interaction>
Edit original response to interaction
inherited

Operators

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