Skip to content

Commit

Permalink
Add field for Emoji on Sticker and ForwardFromChat for Message.
Browse files Browse the repository at this point in the history
  • Loading branch information
Syfaro committed May 21, 2016
1 parent bf6e165 commit bdaf1dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types.go
Expand Up @@ -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
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit bdaf1dc

Please sign in to comment.