summaryrefslogtreecommitdiff
path: root/src/types
diff options
context:
space:
mode:
authorKonstantin Kukin <kukin.konstantin@gmail.com>2016-12-28 19:05:44 +0300
committerKonstantin Kukin <kukin.konstantin@gmail.com>2016-12-28 19:05:44 +0300
commit187311fc635c843f10c275c7e230543b5f67e703 (patch)
tree044a7bd68a338c7f78ec1103c7a3e8984b6ff2e2 /src/types
parent9c60e1f40132b2cf2190de55e057c442a2934440 (diff)
add parse types to JSON part2
Diffstat (limited to 'src/types')
-rw-r--r--src/types/InlineQueryResult.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/types/InlineQueryResult.cpp b/src/types/InlineQueryResult.cpp
index be1f14a..9f90e19 100644
--- a/src/types/InlineQueryResult.cpp
+++ b/src/types/InlineQueryResult.cpp
@@ -1,6 +1,22 @@
//
// Created by Andrea Giove on 27/03/16.
//
+
+#include "tgbot/types/InlineQueryResultCachedAudio.h"
+#include "tgbot/types/InlineQueryResultCachedDocument.h"
+#include "tgbot/types/InlineQueryResultCachedGif.h"
+#include "tgbot/types/InlineQueryResultCachedMpeg4Gif.h"
+#include "tgbot/types/InlineQueryResultCachedPhoto.h"
+#include "tgbot/types/InlineQueryResultCachedSticker.h"
+#include "tgbot/types/InlineQueryResultCachedVideo.h"
+#include "tgbot/types/InlineQueryResultCachedVoice.h"
+#include "tgbot/types/InlineQueryResultAudio.h"
+#include "tgbot/types/InlineQueryResultContact.h"
+#include "tgbot/types/InlineQueryResultGame.h"
+#include "tgbot/types/InlineQueryResultDocument.h"
+#include "tgbot/types/InlineQueryResultLocation.h"
+#include "tgbot/types/InlineQueryResultVenue.h"
+#include "tgbot/types/InlineQueryResultVoice.h"
#include "tgbot/types/InlineQueryResultArticle.h"
#include "tgbot/types/InlineQueryResultGif.h"
#include "tgbot/types/InlineQueryResultMpeg4Gif.h"
@@ -9,8 +25,24 @@
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 InlineQueryResultArticle::TYPE = "article";
+const std::string InlineQueryResultAudio::TYPE = "audio";
+const std::string InlineQueryResultContact::TYPE = "contact";
+const std::string InlineQueryResultGame::TYPE = "game";
+const std::string InlineQueryResultDocument::TYPE = "document";
const std::string InlineQueryResultGif::TYPE = "gif";
+const std::string InlineQueryResultLocation::TYPE = "location";
const std::string InlineQueryResultMpeg4Gif::TYPE = "mpeg4_gif";
const std::string InlineQueryResultPhoto::TYPE = "photo";
+const std::string InlineQueryResultVenue::TYPE = "venue";
const std::string InlineQueryResultVideo::TYPE = "video";
+const std::string InlineQueryResultVoice::TYPE = "voice";