InlineQueryResultPhoto and InlineQueryResultCachedPhoto confusion.
See original GitHub issueHello I’m writing a inline bot but I’ve got a problem with the answerInlineQuery.
I want to have an InlineQueryResultPhoto so that I can use an external photo but Telegraf gives me an error. can't find field "photo_file_id"
. In the Telegram bot documentation, this field is a parameter of InlineQueryResultCachedPhoto.
How can I use InlineQueryResultPhoto, instead of InlineQueryResultCachedPhoto?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
telegram.InlineQueryResultCachedPhoto - python-telegram-bot
Represents a link to a photo stored on the Telegram servers. By default, this photo will be sent by the user with an...
Read more >Welcome to Python Telegram Bot's documentation! — Python ...
InlineQueryResultCachedPhoto · telegram. ... InlineQueryResultPhoto · telegram. ... Avoid confusion with user's urllib3 by renaming vendored urllib3 to ...
Read more >telegram - Go Packages
InlineQueryResultPhoto is an inline query response photo. type InlineQueryResultVenue ¶. type InlineQueryResultVenue struct { ...
Read more >python-telegram-bot Documentation - Read the Docs
Warning: Not to be confused with telegram.Bot. ... InlineQueryResultPhoto(id, photo_url, thumb_url, photo_width=None, photo_height=None,.
Read more >Release 3.0.0b7 aiogram Team
Source: https://core.telegram.org/bots/api#inlinequeryresultcachedphoto type: str ... InlineQueryResultPhoto(*, type: str = Inline-. QueryResultType.PHOTO,.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
How 2 fix this issue now ? answerInlineQuery(results, {cache_time: 0}) does not help !
That’s what I am asking. This is becoming more a pull request than an issue. It would be great to have a class for every InlineQueryResult* that Telegram support for better support and maintanance