Provide width/height to deal with telegram bugs

This commit is contained in:
Hamcha 2018-09-17 17:06:20 +02:00
parent da60c15f44
commit 3b0a84e36c
Signed by: hamcha
GPG Key ID: A40413D21021EAEE
1 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,8 @@ func webhook(update tg.APIUpdate) {
ThumbURL: card.ImageUris.Normal,
Title: card.Name,
Caption: caption,
Width: 672,
Height: 936,
ReplyMarkup: &tg.APIInlineKeyboardMarkup{
InlineKeyboard: [][]tg.APIInlineKeyboardButton{{
{