Anyone can help? How to debug that? Method: answerInlineQuery?inline_query_id=5240531570969&results=[{"type":"photo","id":"1","photo_url":"url","thumb_url":"url","caption":"txt"}]&cache_time=10 Response: "ok": true,

"result": true
Client: No results

- Image is jpg

7 ответов

19 просмотров

check the docs:

https://core.telegram.org/bots/api#answerinlinequery

If you are sure that query_id is right, you can also try assigning random id to the query result. Other than that, I have no idea

zubiden
If you are sure that query_id is right, you can al...

results are wrong, they can't be plain json, it has to be json-serialized array

dotvhs
results are wrong, they can't be plain json, it ha...

I would expect to get an error in this case. But who knows, with Telegram everything is possible ¯\_(ツ)_/¯

What is width and height of the photo_url ? Check this: https://t.me/BotTalk/429322

Похожие вопросы

Карта сайта