Add missing message fields

media_group_id
author_signature
via_bot
bot-api-6.1
vdimir 2020-08-20 20:59:20 +03:00
parent 15c95b8a84
commit dadb760cde
No known key found for this signature in database
GPG Key ID: 4F25F52AFAF0C2C0
1 changed files with 3 additions and 0 deletions

View File

@ -143,7 +143,10 @@ type Message struct {
ForwardFromMessageID int `json:"forward_from_message_id"` // optional
ForwardDate int `json:"forward_date"` // optional
ReplyToMessage *Message `json:"reply_to_message"` // optional
ViaBot *User `json:"via_bot"` // optional
EditDate int `json:"edit_date"` // optional
MediaGroupID string `json:"media_group_id"` // optional
AuthorSignature string `json:"author_signature"` // optional
Text string `json:"text"` // optional
Entities *[]MessageEntity `json:"entities"` // optional
CaptionEntities *[]MessageEntity `json:"caption_entities"` // optional