From bdaf1dc07c57275fc227be3955b408eed32cb7af Mon Sep 17 00:00:00 2001 From: Syfaro Date: Fri, 20 May 2016 20:34:56 -0500 Subject: [PATCH] Add field for Emoji on Sticker and ForwardFromChat for Message. --- types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types.go b/types.go index c48bd38..bbc124f 100644 --- a/types.go +++ b/types.go @@ -96,6 +96,7 @@ type Message struct { Date int `json:"date"` Chat *Chat `json:"chat"` ForwardFrom *User `json:"forward_from"` // optional + ForwardFromChat *Chat `json:"forward_from_chat"` // optional ForwardDate int `json:"forward_date"` // optional ReplyToMessage *Message `json:"reply_to_message"` // optional Text string `json:"text"` // optional @@ -217,6 +218,7 @@ type Sticker struct { Width int `json:"width"` Height int `json:"height"` Thumbnail *PhotoSize `json:"thumb"` // optional + Emoji string `json:"emoji"` // optional FileSize int `json:"file_size"` // optional }