Change LastMessageId to nullable
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Discord.API
|
|||||||
[JsonProperty("is_private")]
|
[JsonProperty("is_private")]
|
||||||
public bool IsPrivate { get; set; }
|
public bool IsPrivate { get; set; }
|
||||||
[JsonProperty("last_message_id")]
|
[JsonProperty("last_message_id")]
|
||||||
public ulong LastMessageId { get; set; }
|
public ulong? LastMessageId { get; set; }
|
||||||
|
|
||||||
//GuildChannel
|
//GuildChannel
|
||||||
[JsonProperty("guild_id")]
|
[JsonProperty("guild_id")]
|
||||||
|
|||||||
@@ -9,6 +9,6 @@ namespace Discord.API
|
|||||||
[JsonProperty("mention_count")]
|
[JsonProperty("mention_count")]
|
||||||
public int MentionCount { get; set; }
|
public int MentionCount { get; set; }
|
||||||
[JsonProperty("last_message_id")]
|
[JsonProperty("last_message_id")]
|
||||||
public ulong LastMentionId { get; set; }
|
public ulong? LastMessageId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user