summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author俞亦键 <YJBeetle@YJBeetle-MBP.lan>2019-11-12 14:15:56 -0800
committer俞亦键 <YJBeetle@YJBeetle-MBP.lan>2019-11-12 14:15:56 -0800
commitb3cc5149f8337a43fe7f5174e35c739cd5e6b229 (patch)
treedeb634d689bdb63b13b2a62df497fe77b2971493 /src
parent9caa6efaf13214613f21e11f5e1536b4ab05c6d6 (diff)
update api: Inline result type remove "cached_"
https://core.telegram.org/bots/api#inlinequeryresult
Diffstat (limited to 'src')
-rw-r--r--src/types/InlineQueryResult.cpp16
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";