InlineQueryResult¶
- class litegram.types.inline_query_result.InlineQueryResult(**extra_data: Any)[source]¶
This object represents one result of an inline query. Telegram clients currently support results of the following 20 types:
litegram.types.inline_query_result_cached_audio.InlineQueryResultCachedAudiolitegram.types.inline_query_result_cached_document.InlineQueryResultCachedDocumentlitegram.types.inline_query_result_cached_gif.InlineQueryResultCachedGiflitegram.types.inline_query_result_cached_mpeg4_gif.InlineQueryResultCachedMpeg4Giflitegram.types.inline_query_result_cached_photo.InlineQueryResultCachedPhotolitegram.types.inline_query_result_cached_sticker.InlineQueryResultCachedStickerlitegram.types.inline_query_result_cached_video.InlineQueryResultCachedVideolitegram.types.inline_query_result_cached_voice.InlineQueryResultCachedVoicelitegram.types.inline_query_result_article.InlineQueryResultArticlelitegram.types.inline_query_result_audio.InlineQueryResultAudiolitegram.types.inline_query_result_contact.InlineQueryResultContactlitegram.types.inline_query_result_game.InlineQueryResultGamelitegram.types.inline_query_result_document.InlineQueryResultDocumentlitegram.types.inline_query_result_location.InlineQueryResultLocationlitegram.types.inline_query_result_mpeg4_gif.InlineQueryResultMpeg4Giflitegram.types.inline_query_result_photo.InlineQueryResultPhotolitegram.types.inline_query_result_venue.InlineQueryResultVenuelitegram.types.inline_query_result_video.InlineQueryResultVideolitegram.types.inline_query_result_voice.InlineQueryResultVoice
Note: All URLs passed in inline query results will be available to end users and therefore must be assumed to be public.
Source: https://core.telegram.org/bots/api#inlinequeryresult