OpIdentify class

OP 2 - Send Starts a new session during the initial handshake.

Inheritance

Constructors

OpIdentify({required String token, required ConnectionProperties properties, bool? compress, int? largeThreshold, List<int>? shard, UpdateStatus? presence, bool? guildSubscriptions, required List<Intent> intents})

Properties

compress bool?
final
guildSubscriptions bool?
final
hashCode int
The hash code for this object.
no setterinherited
intents List<Intent>
final
intentsShift int
no setter
largeThreshold int?
final
op int
no setteroverride
presence UpdateStatus?
final
properties ConnectionProperties
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shard List<int>?
final
token String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rpc() Map
inherited
toJson() Map
toString() String
A string representation of this object.
inherited

Operators

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