Class PresenceGatewayData
Gateway event data for PRESENCE_UPDATE events. This differs from the base Presence class by including a full User object instead of just a user_id.
public class PresenceGatewayData
- Inheritance
-
objectPresenceGatewayData
Properties
Afk
Whether the user is AFK.
[JsonProperty("afk")]
public bool Afk { get; set; }
Property Value
CustomStatus
[JsonProperty("custom_status")]
public UserCustomStatusJson? CustomStatus { get; set; }
Property Value
- UserCustomStatusJson
GuildId
[JsonProperty("guild_id")]
public ulong? GuildId { get; set; }
Property Value
Mobile
Whether the user is on mobile.
[JsonProperty("mobile")]
public bool Mobile { get; set; }
Property Value
Status
[JsonProperty("status")]
public string Status { get; set; }
Property Value
User
[JsonProperty("user")]
public UserJson User { get; set; }
Property Value
- UserJson