diff options
author | Oleg Morozenkov <m@oleg.rocks> | 2019-12-05 00:50:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-05 00:50:28 +0300 |
commit | d873b1ec87c70449fffba336b2aeabb259885b21 (patch) | |
tree | 87ac36248432558291c1dece547b7f220ea8da96 /src/types | |
parent | 9148563cb333bb6a3127138541de2fc086ff743b (diff) | |
parent | 2318c534d4286436a668c5a33220dfc8d5b85686 (diff) |
Merge pull request #114 from YJBeetle/master
fix #113 InlineQueryResult json parse bug
Diffstat (limited to 'src/types')
-rw-r--r-- | src/types/InlineQueryResult.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/types/InlineQueryResult.cpp b/src/types/InlineQueryResult.cpp index 9f90e19..79debe0 100644 --- a/src/types/InlineQueryResult.cpp +++ b/src/types/InlineQueryResult.cpp @@ -25,14 +25,14 @@ using namespace TgBot; -const std::string InlineQueryResultCachedAudio::TYPE = "cached_audio"; -const std::string InlineQueryResultCachedDocument::TYPE = "cached_document"; -const std::string InlineQueryResultCachedGif::TYPE = "cached_gif"; -const std::string InlineQueryResultCachedMpeg4Gif::TYPE = "cached_mpeg4gif"; -const std::string InlineQueryResultCachedPhoto::TYPE = "cached_photo"; -const std::string InlineQueryResultCachedSticker::TYPE = "cached_sticker"; -const std::string InlineQueryResultCachedVideo::TYPE = "cached_video"; -const std::string InlineQueryResultCachedVoice::TYPE = "cached_voice"; +const std::string InlineQueryResultCachedAudio::TYPE = "audio"; +const std::string InlineQueryResultCachedDocument::TYPE = "document"; +const std::string InlineQueryResultCachedGif::TYPE = "gif"; +const std::string InlineQueryResultCachedMpeg4Gif::TYPE = "mpeg4_gif"; +const std::string InlineQueryResultCachedPhoto::TYPE = "photo"; +const std::string InlineQueryResultCachedSticker::TYPE = "sticker"; +const std::string InlineQueryResultCachedVideo::TYPE = "video"; +const std::string InlineQueryResultCachedVoice::TYPE = "voice"; const std::string InlineQueryResultArticle::TYPE = "article"; const std::string InlineQueryResultAudio::TYPE = "audio"; |