PresenceUpdateEvent class
Emitted when a user updates their presence.
- Inheritance
-
- Object
- GatewayEvent
- DispatchEvent
- PresenceUpdateEvent
Properties
-
activities
→ List<
Activity> ? -
The user's current activities.
final
- clientStatus → ClientStatus?
-
The user's current client status.
final
- gateway → Gateway
-
The gateway that handled this event.
finalinherited
- guild → PartialGuild?
-
The guild the presence was updated in.
no setter
- guildId → Snowflake?
-
The ID of the guild the presence was updated 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
- status → UserStatus?
-
The user's current status.
final
- user → PartialUser?
-
The user that updated their presence.
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