Provide width/height to deal with telegram bugs
This commit is contained in:
parent
da60c15f44
commit
3b0a84e36c
1 changed files with 2 additions and 0 deletions
2
main.go
2
main.go
|
@ -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{{
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue