InlineQueryResult¶
- class aiogram.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:
aiogram.types.inline_query_result_cached_audio.InlineQueryResultCachedAudioaiogram.types.inline_query_result_cached_document.InlineQueryResultCachedDocumentaiogram.types.inline_query_result_cached_gif.InlineQueryResultCachedGifaiogram.types.inline_query_result_cached_mpeg4_gif.InlineQueryResultCachedMpeg4Gifaiogram.types.inline_query_result_cached_photo.InlineQueryResultCachedPhotoaiogram.types.inline_query_result_cached_sticker.InlineQueryResultCachedStickeraiogram.types.inline_query_result_cached_video.InlineQueryResultCachedVideoaiogram.types.inline_query_result_cached_voice.InlineQueryResultCachedVoiceaiogram.types.inline_query_result_article.InlineQueryResultArticleaiogram.types.inline_query_result_audio.InlineQueryResultAudioaiogram.types.inline_query_result_contact.InlineQueryResultContactaiogram.types.inline_query_result_game.InlineQueryResultGameaiogram.types.inline_query_result_document.InlineQueryResultDocumentaiogram.types.inline_query_result_location.InlineQueryResultLocationaiogram.types.inline_query_result_mpeg4_gif.InlineQueryResultMpeg4Gifaiogram.types.inline_query_result_photo.InlineQueryResultPhotoaiogram.types.inline_query_result_venue.InlineQueryResultVenueaiogram.types.inline_query_result_video.InlineQueryResultVideoaiogram.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