Class DiscordGuildPresenceData
A user's presence is their current state on a guild. This event is sent when a user's presence or info, such as name or avatar, is updated..
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Color_Chan.Discord.Core.Common.API.DataModels
Assembly: Color-Chan.Discord.Core.dll
Syntax
public class DiscordGuildPresenceData : IEquatable<DiscordGuildPresenceData>
Remarks
If you are using Gateway Intents, you must specify the GUILD_PRESENCES intent in order to receive Presence Update events.
Properties
| Improve this Doc View SourceGuildId
id of the guild.
Declaration
[JsonPropertyName("guild_id")]
public ulong GuildId { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Status
Either "idle", "dnd", "online", or "offline".
Declaration
[JsonPropertyName("status")]
public string Status { get; set; }
Property Value
Type | Description |
---|---|
String |
User
The user presence is being updated for.
Declaration
[JsonPropertyName("user")]
public DiscordUserData User { get; set; }
Property Value
Type | Description |
---|---|
DiscordUserData |