Class Presence
- Namespace
- NetCord.Gateway
- Assembly
- NetCord.dll
public class Presence : IJsonModel<JsonPresence>
- Inheritance
-
Presence
- Implements
-
- Inherited Members
-
Constructors
Presence(JsonPresence, ulong?, RestClient)
public Presence(JsonPresence jsonModel, ulong? guildId, RestClient client)
Parameters
jsonModel
JsonPresence
guildId
ulong?
client
RestClient
Properties
Activities
public IReadOnlyList<UserActivity> Activities { get; }
Property Value
- IReadOnlyList<UserActivity>
GuildId
public ulong GuildId { get; }
Property Value
- ulong
public IReadOnlyDictionary<Platform, UserStatusType> Platform { get; }
Property Value
- IReadOnlyDictionary<Platform, UserStatusType>
Status
public UserStatusType Status { get; }
Property Value
- UserStatusType
User
public User User { get; }
Property Value
- User