Class UserActivity
public class UserActivity : IJsonModel<JsonUserActivity>
- Inheritance
-
UserActivity
- Implements
- Inherited Members
Constructors
UserActivity(JsonUserActivity, ulong, RestClient)
public UserActivity(JsonUserActivity jsonModel, ulong guildId, RestClient client)
Parameters
jsonModel
JsonUserActivityguildId
ulongclient
RestClient
Properties
ApplicationId
public ulong? ApplicationId { get; }
Property Value
Assets
public UserActivityAssets? Assets { get; }
Property Value
Buttons
public IReadOnlyList<UserActivityButton> Buttons { get; }
Property Value
CreatedAt
public DateTimeOffset CreatedAt { get; }
Property Value
Details
public string? Details { get; }
Property Value
Emoji
public Emoji? Emoji { get; }
Property Value
Flags
public UserActivityFlags? Flags { get; }
Property Value
GuildId
public ulong GuildId { get; }
Property Value
Instance
whether or not the activity is an instanced game session
public bool? Instance { get; }
Property Value
- bool?
Name
public string Name { get; }
Property Value
Party
public Party? Party { get; }
Property Value
Secrets
public UserActivitySecrets? Secrets { get; }
Property Value
State
public string? State { get; }
Property Value
Timestamps
public UserActivityTimestamps? Timestamps { get; }
Property Value
Type
public UserActivityType Type { get; }
Property Value
Url
public string? Url { get; }