ButtonInteraction class Null safety

Inheritance

Constructors

ButtonInteraction(Snowflake _id, Snowflake _applicationId, int _version, int _typeId, String token, Snowflake? _userId, Snowflake? _guildId, Snowflake _messageId, Snowflake _customId, Snowflake _channelId)
ButtonInteraction.from({required User user, required Guild guild, required Message message, required dynamic payload})
factory

Properties

applicationId Snowflake
read-only, inherited
channel TextBasedChannel?
read-only
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
member GuildMember?
read-only, inherited
message Message?
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

Responds to this by an Modal
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<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