all repos — telegram-bot-api @ 2f7211a7085f09de4f8860102117613019a5adc0

Golang bindings for the Telegram Bot API

Updates for Bot API 4.9.
Syfaro syfaro@huefox.com
Thu, 23 Jul 2020 17:13:53 -0500
commit

2f7211a7085f09de4f8860102117613019a5adc0

parent

e5991566310f001586af2ff2736a3e4c8436af85

2 files changed, 5 insertions(+), 0 deletions(-)

jump to
M configs.goconfigs.go

@@ -1679,6 +1679,8 @@ return params, nil

} // DiceConfig allows you to send a random dice roll to Telegram. +// +// Emoji may be one of the following: 🎲 (1-6), 🎯 (1-6), 🏀 (1-5). type DiceConfig struct { BaseChat
M types.gotypes.go

@@ -169,6 +169,7 @@ ForwardSignature string `json:"forward_signature,omitempty"` // optional

ForwardSenderName string `json:"forward_sender_name,omitempty"` // optional ForwardDate int `json:"forward_date,omitempty"` // optional ReplyToMessage *Message `json:"reply_to_message,omitempty"` // optional + ViaBot *User `json:"via_bot"` // optional EditDate int `json:"edit_date,omitempty"` // optional MediaGroupID string `json:"media_group_id,omitempty"` // optional AuthorSignature string `json:"author_signature,omitempty"` // optional

@@ -756,6 +757,7 @@ Type string `json:"type"` // required

ID string `json:"id"` // required URL string `json:"gif_url"` // required ThumbURL string `json:"thumb_url"` // required + ThumbMimeType string `json:"thumb_mime_type"` Width int `json:"gif_width,omitempty"` Height int `json:"gif_height,omitempty"` Duration int `json:"gif_duration,omitempty"`

@@ -786,6 +788,7 @@ Width int `json:"mpeg4_width"`

Height int `json:"mpeg4_height"` Duration int `json:"mpeg4_duration"` ThumbURL string `json:"thumb_url"` + ThumbMimeType string `json:"thumb_mime_type"` Title string `json:"title"` Caption string `json:"caption"` ReplyMarkup *InlineKeyboardMarkup `json:"reply_markup,omitempty"`