Added WebhookId and IsWebhook

This commit is contained in:
RogueException
2016-10-05 03:43:59 -03:00
parent ca3e7df065
commit 1b86812741
5 changed files with 17 additions and 4 deletions

View File

@@ -12,6 +12,8 @@ namespace Discord.API
public MessageType Type { get; set; }
[JsonProperty("channel_id")]
public ulong ChannelId { get; set; }
[JsonProperty("webhook_id")]
public Optional<ulong> WebhookId { get; set; }
[JsonProperty("author")]
public Optional<User> Author { get; set; }
[JsonProperty("content")]