Add field for Emoji on Sticker and ForwardFromChat for Message.
parent
bf6e165e92
commit
bdaf1dc07c
2
types.go
2
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue