Closed tech-savvy-guy closed 2 years ago
get_file_url is not a function for internet crawling. It's a special function to retrive the downloadable url for telegram file.
@Badiboy How can I use Inline Mode
with file_ids
of media already stored on the Telegram servers?
https://core.telegram.org/bots/api#inlinequeryresultcachedphoto Use cached classes
@coder2020official Thanks for the reply!
I used this method, however only the first option is being displayed by the bot.
@coder2020official Thanks for the reply!
I used this method, however only the first option is being displayed by the bot.
Well, on further investigation ,it seems like there is a delay in updating the information to the bot. Like I was running the script several times but it displayed all the 4 images after several re-runs.
Again I deleted, one of the query from the queries
list and it still shows me all 4 images instead of 3.
Can we use the
get_file_url()
method to set the url for a media in the Inline Mode?Something like this? ☝🏻