Table of Contents

Class PresenceGatewayData

Namespace
Fluxer.Net.Gateway
Assembly
Fluxer.Net.dll

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
object
PresenceGatewayData

Properties

Afk

Whether the user is AFK.

[JsonProperty("afk")]
public bool Afk { get; set; }

Property Value

bool

CustomStatus

[JsonProperty("custom_status")]
public UserCustomStatusJson? CustomStatus { get; set; }

Property Value

UserCustomStatusJson

GuildId

[JsonProperty("guild_id")]
public ulong? GuildId { get; set; }

Property Value

ulong?

Mobile

Whether the user is on mobile.

[JsonProperty("mobile")]
public bool Mobile { get; set; }

Property Value

bool

Status

[JsonProperty("status")]
public string Status { get; set; }

Property Value

string

User

[JsonProperty("user")]
public UserJson User { get; set; }

Property Value

UserJson