ReadyEvent class
Emitted when the client's Gateway session is established.
- Inheritance
-
- Object
- GatewayEvent
- DispatchEvent
- ReadyEvent
Properties
- application → PartialApplication
-
The client's application.
final
- gateway → Gateway
-
The gateway that handled this event.
finalinherited
- gatewayResumeUrl → Uri
-
The URL to use when resuming the Gateway session.
final
-
guilds
→ List<
PartialGuild> -
A list of guilds the user is in.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- opcode → Opcode
-
The opcode of this event.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId → String
-
The ID of the Gateway session.
final
-
The ID of the shard.
final
- totalShards → int?
-
The total number of shards.
final
- user → User
-
The current client's user.
final
- version → int
-
The version of the API being used.
final
Methods
-
defaultToString(
) → String -
Same as toString, but only called when dart:mirrors is not available.
inherited
-
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