|
tgbot-cpp
|
This object represents one result of an inline query. Telegram clients currently support results of the following 20 types: InlineQueryResultCachedAudio InlineQueryResultCachedDocument InlineQueryResultCachedGif InlineQueryResultCachedMpeg4Gif InlineQueryResultCachedPhoto InlineQueryResultCachedSticker InlineQueryResultCachedVideo InlineQueryResultCachedVoice InlineQueryResultArticle InlineQueryResultAudio InlineQueryResultContact InlineQueryResultGame InlineQueryResultDocument InlineQueryResultGif InlineQueryResultLocation InlineQueryResultMpeg4Gif InlineQueryResultPhoto InlineQueryResultVenue InlineQueryResultVideo InlineQueryResultVoice Note: All URLs passed in inline query results will be available to end users and therefore must be assumed to be public. More...
#include <Types.h>
Public Types | |
| using | Ptr = std::shared_ptr<InlineQueryResult> |
Public Attributes | |
| std::variant< std::shared_ptr< InlineQueryResultCachedAudio >, std::shared_ptr< InlineQueryResultCachedDocument >, std::shared_ptr< InlineQueryResultCachedGif >, std::shared_ptr< InlineQueryResultCachedMpeg4Gif >, std::shared_ptr< InlineQueryResultCachedPhoto >, std::shared_ptr< InlineQueryResultCachedSticker >, std::shared_ptr< InlineQueryResultCachedVideo >, std::shared_ptr< InlineQueryResultCachedVoice >, std::shared_ptr< InlineQueryResultArticle >, std::shared_ptr< InlineQueryResultAudio >, std::shared_ptr< InlineQueryResultContact >, std::shared_ptr< InlineQueryResultGame >, std::shared_ptr< InlineQueryResultDocument >, std::shared_ptr< InlineQueryResultGif >, std::shared_ptr< InlineQueryResultLocation >, std::shared_ptr< InlineQueryResultMpeg4Gif >, std::shared_ptr< InlineQueryResultPhoto >, std::shared_ptr< InlineQueryResultVenue >, std::shared_ptr< InlineQueryResultVideo >, std::shared_ptr< InlineQueryResultVoice > > | value |
This object represents one result of an inline query. Telegram clients currently support results of the following 20 types: InlineQueryResultCachedAudio InlineQueryResultCachedDocument InlineQueryResultCachedGif InlineQueryResultCachedMpeg4Gif InlineQueryResultCachedPhoto InlineQueryResultCachedSticker InlineQueryResultCachedVideo InlineQueryResultCachedVoice InlineQueryResultArticle InlineQueryResultAudio InlineQueryResultContact InlineQueryResultGame InlineQueryResultDocument InlineQueryResultGif InlineQueryResultLocation InlineQueryResultMpeg4Gif InlineQueryResultPhoto InlineQueryResultVenue InlineQueryResultVideo InlineQueryResultVoice Note: All URLs passed in inline query results will be available to end users and therefore must be assumed to be public.
| using TgBot::InlineQueryResult::Ptr = std::shared_ptr<InlineQueryResult> |
| std::variant<std::shared_ptr<InlineQueryResultCachedAudio>, std::shared_ptr<InlineQueryResultCachedDocument>, std::shared_ptr<InlineQueryResultCachedGif>, std::shared_ptr<InlineQueryResultCachedMpeg4Gif>, std::shared_ptr<InlineQueryResultCachedPhoto>, std::shared_ptr<InlineQueryResultCachedSticker>, std::shared_ptr<InlineQueryResultCachedVideo>, std::shared_ptr<InlineQueryResultCachedVoice>, std::shared_ptr<InlineQueryResultArticle>, std::shared_ptr<InlineQueryResultAudio>, std::shared_ptr<InlineQueryResultContact>, std::shared_ptr<InlineQueryResultGame>, std::shared_ptr<InlineQueryResultDocument>, std::shared_ptr<InlineQueryResultGif>, std::shared_ptr<InlineQueryResultLocation>, std::shared_ptr<InlineQueryResultMpeg4Gif>, std::shared_ptr<InlineQueryResultPhoto>, std::shared_ptr<InlineQueryResultVenue>, std::shared_ptr<InlineQueryResultVideo>, std::shared_ptr<InlineQueryResultVoice> > TgBot::InlineQueryResult::value |