[
'type' => "photo",
'id' => $id,
'title' => $title,
'photo_url' => "https://example.com/1.jpg",
'thumb_url' => "https://example.com/1_small.jpg"
]
我发送这样的 InlineQueryResultPhoto。Telegram 说一切正常,但没有向用户显示任何内容。怎么了?
[
'type' => "photo",
'id' => $id,
'title' => $title,
'photo_url' => "https://example.com/1.jpg",
'thumb_url' => "https://example.com/1_small.jpg"
]
我发送这样的 InlineQueryResultPhoto。Telegram 说一切正常,但没有向用户显示任何内容。怎么了?
事实证明,在文档中标记为可选的参数
photo_width
和photo_height
,仍然需要传递。https://www.reddit.com/r/TelegramBots/comments/3zka60/telegram_inlinequeryresultphoto_issues/