ServerSelectContext class final

Implemented types

Constructors

ServerSelectContext({required Snowflake id, required Snowflake applicationId, required String token, required int version, required String customId, required Snowflake serverId, required Snowflake? messageId, required Snowflake? memberId, required Snowflake? channelId})

Properties

applicationId Snowflake
final
channelId Snowflake?
final
customId String
final
hashCode int
The hash code for this object.
no setterinherited
id Snowflake
final
interaction InteractionContract
latefinal
memberId Snowflake?
final
messageId Snowflake?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverId Snowflake
final
token String
final
version int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveChannel<T extends Channel>({bool force = false}) Future<T?>
resolveMember({bool force = false}) Future<Member?>
resolveMessage({bool force = false}) Future<ServerMessage?>
resolveServer({bool force = false}) Future<Server?>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromMap(DataStoreContract datastore, Map<String, dynamic> payload) Future<ServerSelectContext>