ComponentContextData class abstract

Data about a context in which a component was interacted with.

You might also be interested in:

  • ComponentContext, which exposes the functionality for interacting with this context.
Implemented types
Implementers

Constructors

ComponentContextData()

Properties

channel TextChannel
The channel in which the context was created.
no setterinherited
client NyxxGateway
The client that emitted the event triggering this context's creation.
no setterinherited
commands CommandsPlugin
The instance of CommandsPlugin which created this context.
no setterinherited
componentId String
The ID of the component that was interacted with.
no setter
guild Guild?
The guild in which the context was created, or null if created outside of a guild.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
interaction MessageComponentInteraction
The interaction that triggered this context's creation.
no setteroverride
member Member?
The member that triggered this context's created, or null if created outside of a guild.
no setterinherited
parsedComponentId ComponentId?
If componentId is a valid ComponentId, this is the parsed version of that.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user User
The user that triggered this context's creation.
no setterinherited

Methods

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