Hi everyone. I'm currently developing an inline bot. I found that

using method answerInlineQuery with its result parameter as InlineQueryResultPhoto will cause the result will be cached forever in the Telegram servers for the same photo_url , even though the photo is replaced with a new one (photo url remain the same).

How should I do to force my bot to refresh those cached photos?

7 ответов

26 просмотров

I don't think that it's cached forever. From my experience it should be cached for the same time as regular urls and link previews etc. Are cached. For single images use @webpagebot to update the cache

Ad random parameter at the url end like url&custom=1

Ouh I see

Let us know if that works

All right.. now it works! I should press that "Update with content" button 😂 Thank you Яico X!

All right... Now it works! I should press that button "Update with content" Thank you Rico ^_^

Good to hear :)

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

Карта сайта