1
0

👽 Update struct's by last Telegram update

This commit is contained in:
Maxim Lebedev 2017-10-11 16:59:16 +05:00
parent 15ab57356a
commit 5a4054b0a2
No known key found for this signature in database
GPG Key ID: F8978F46FF0FFA4F

View File

@ -214,6 +214,12 @@ type (
// Pinned message, for supergroups. Returned only in getChat.
PinnedMessage *Message `json:"pinned_message,omitempty"`
// For supergroups, name of Group sticker set. Returned only in getChat.
StickerSetName string `json:"sticker_set_name,omitempty"`
// True, if the bot can change group the sticker set. Returned only in getChat.
CanSetStickerSet bool `json:"can_set_sticker_set,omitempty"`
}
// Message represents a message.
@ -268,6 +274,9 @@ type (
// commands, etc. that appear in the text
Entities []MessageEntity `json:"entities,omitempty"`
// For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption
CaptionEntities []MessageEntity `json:"caption_entities,omitempty"`
// Message is an audio file, information about the file
Audio *Audio `json:"audio,omitempty"`