Class JsonUserActivity
- Namespace
- NetCord.Gateway.JsonModels
- Assembly
- NetCord.dll
public class JsonUserActivity
- Inheritance
-
JsonUserActivity
- Inherited Members
-
Constructors
JsonUserActivity()
public JsonUserActivity()
Properties
ApplicationId
[JsonPropertyName("application_id")]
public ulong? ApplicationId { get; set; }
Property Value
- ulong?
Assets
[JsonPropertyName("assets")]
public JsonUserActivityAssets? Assets { get; set; }
Property Value
- JsonUserActivityAssets
[JsonPropertyName("buttons")]
public string[] ButtonsLabels { get; set; }
Property Value
- string[]
CreatedAt
[JsonConverter(typeof(MillisecondsUnixDateTimeOffsetConverter))]
[JsonPropertyName("created_at")]
public DateTimeOffset CreatedAt { get; set; }
Property Value
- DateTimeOffset
Details
[JsonPropertyName("details")]
public string? Details { get; set; }
Property Value
- string
Emoji
[JsonPropertyName("emoji")]
public JsonEmoji? Emoji { get; set; }
Property Value
- JsonEmoji
Flags
[JsonPropertyName("flags")]
public UserActivityFlags? Flags { get; set; }
Property Value
- UserActivityFlags?
Instance
[JsonPropertyName("instance")]
public bool? Instance { get; set; }
Property Value
- bool?
Name
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
- string
Party
[JsonPropertyName("party")]
public JsonParty? Party { get; set; }
Property Value
- JsonParty
Secrets
[JsonPropertyName("secrets")]
public JsonUserActivitySecrets? Secrets { get; set; }
Property Value
- JsonUserActivitySecrets
State
[JsonPropertyName("state")]
public string? State { get; set; }
Property Value
- string
Timestamps
[JsonPropertyName("timestamps")]
public JsonUserActivityTimestamps Timestamps { get; set; }
Property Value
- JsonUserActivityTimestamps
Type
[JsonPropertyName("type")]
public UserActivityType Type { get; set; }
Property Value
- UserActivityType
Url
[JsonPropertyName("url")]
public string? Url { get; set; }
Property Value
- string