Table of Contents

Class UserActivity

Namespace
NetCord.Gateway
Assembly
NetCord.dll
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 JsonUserActivity
guildId ulong
client RestClient

Properties

ApplicationId

public ulong? ApplicationId { get; }

Property Value

ulong?

Assets

public UserActivityAssets? Assets { get; }

Property Value

UserActivityAssets

Buttons

public IReadOnlyList<UserActivityButton> Buttons { get; }

Property Value

IReadOnlyList<UserActivityButton>

CreatedAt

public DateTimeOffset CreatedAt { get; }

Property Value

DateTimeOffset

Details

public string? Details { get; }

Property Value

string

Emoji

public Emoji? Emoji { get; }

Property Value

Emoji

Flags

public UserActivityFlags? Flags { get; }

Property Value

UserActivityFlags?

GuildId

public ulong GuildId { get; }

Property Value

ulong

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

string

Party

public Party? Party { get; }

Property Value

Party

Secrets

public UserActivitySecrets? Secrets { get; }

Property Value

UserActivitySecrets

State

public string? State { get; }

Property Value

string

Timestamps

public UserActivityTimestamps? Timestamps { get; }

Property Value

UserActivityTimestamps

Type

public UserActivityType Type { get; }

Property Value

UserActivityType

Url

public string? Url { get; }

Property Value

string