ContextUserInteraction class

Inheritance

Constructors

ContextUserInteraction(Snowflake? _targetId, Snowflake? _channelId, int _type, Snowflake _id, String? _label, Snowflake _applicationId, int _version, int _typeId, String _token, Snowflake? _user, Snowflake? _guild)
ContextUserInteraction.from({required dynamic payload})
factory

Properties

applicationId Snowflake
no setterinherited
channel GuildChannel?
no setter
guild Guild?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id Snowflake
no setterinherited
label String?
no setterinherited
member GuildMember?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target GuildMember?
no setter
toJson Object
no setterinherited
token String
no setterinherited
type InteractionType
no setterinherited
typeMenu ContextMenuType
no setterinherited
user User
no setterinherited
version int
no setterinherited

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 nonexistent method or property is accessed.
inherited
reply({String? content, List<EmbedBuilder>? embeds, ComponentBuilder? components, List<AttachmentBuilder>? attachments, 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, ComponentBuilder? components, List<AttachmentBuilder>? attachments}) Future<Interaction>
Edit original response to interaction
inherited

Operators

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