Skip to content

Commit bdaf1dc

Browse files
author
Syfaro
committed
Add field for Emoji on Sticker and ForwardFromChat for Message.
1 parent bf6e165 commit bdaf1dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ type Message struct {
9696
Date int `json:"date"`
9797
Chat *Chat `json:"chat"`
9898
ForwardFrom *User `json:"forward_from"` // optional
99+
ForwardFromChat *Chat `json:"forward_from_chat"` // optional
99100
ForwardDate int `json:"forward_date"` // optional
100101
ReplyToMessage *Message `json:"reply_to_message"` // optional
101102
Text string `json:"text"` // optional
@@ -217,6 +218,7 @@ type Sticker struct {
217218
Width int `json:"width"`
218219
Height int `json:"height"`
219220
Thumbnail *PhotoSize `json:"thumb"` // optional
221+
Emoji string `json:"emoji"` // optional
220222
FileSize int `json:"file_size"` // optional
221223
}
222224

0 commit comments

Comments
 (0)