ServerCommandContext class final

Implemented types

Constructors

ServerCommandContext({required Snowflake id, required Snowflake applicationId, required String token, required int version, required Member member, required Server server, Channel? channel})

Properties

applicationId Snowflake
final
channel Channel?
final
hashCode int
The hash code for this object.
no setterinherited
id Snowflake
final
interaction InteractionContract
latefinaloverride
member Member
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
server Server
final
token String
final
version int
final

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

Static Methods

fromMap(MarshallerContract marshaller, DataStoreContract datastore, Map<String, dynamic> payload) Future<ServerCommandContext>