|
|
@@ -13,6 +13,22 @@ namespace Discord.API |
|
|
|
public Optional<string> StreamUrl { get; set; } |
|
|
|
[JsonProperty("type")] |
|
|
|
public Optional<StreamType?> StreamType { get; set; } |
|
|
|
[JsonProperty("details")] |
|
|
|
public Optional<string> Details { get; set; } |
|
|
|
[JsonProperty("state")] |
|
|
|
public Optional<string> State { get; set; } |
|
|
|
[JsonProperty("application_id")] |
|
|
|
public Optional<ulong> ApplicationId { get; set; } |
|
|
|
[JsonProperty("assets")] |
|
|
|
public Optional<API.GameAssets> Assets { get; set; } |
|
|
|
[JsonProperty("party")] |
|
|
|
public Optional<API.GameParty> Party { get; set; } |
|
|
|
[JsonProperty("secrets")] |
|
|
|
public Optional<API.GameSecrets> Secrets { get; set; } |
|
|
|
[JsonProperty("timestamps")] |
|
|
|
public Optional<API.GameTimestamps> Timestamps { get; set; } |
|
|
|
[JsonProperty("instance")] |
|
|
|
public Optional<bool> Instance { get; set; } |
|
|
|
|
|
|
|
[OnError] |
|
|
|
internal void OnError(StreamingContext context, ErrorContext errorContext) |
|
|
|