IModalInteraction class Null safety

Implemented types

Constructors

IModalInteraction()

Properties

channel Cacheable<Snowflake, ITextChannel>
The channel the command was sent in.
read-only, inherited
client INyxx
Reference to bot instance.
read-only, inherited
components List<List<IMessageComponent>>
List of components submitted
read-only
createdAt DateTime
Gets creation timestamp included in Snowflake
read-only, inherited
customId String
Custom id of modal
read-only
guild Cacheable<Snowflake, IGuild>?
The guild the command was sent in.
read-only, inherited
guildLocale String?
The preferred locale of the guild this interaction was created in, if any.
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id Snowflake
ID of entity as Snowflake
final, inherited
locale String?
The selected language of the invoking user
read-only, inherited
memberAuthor IMember?
The member who sent the interaction
read-only, inherited
memberAuthorPermissions IPermissions?
Permission of member who sent the interaction. Will be set if memberAuthor is not null
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
token String
Token to send requests
read-only, inherited
type int
The type of the interaction received.
read-only, inherited
userAuthor IUser?
The user who sent the interaction.
read-only, inherited
version int
Version of interactions api
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited