summaryrefslogtreecommitdiff
path: root/src/types
diff options
context:
space:
mode:
authorOleg Morozenkov <reo7sp@users.noreply.github.com>2017-01-02 22:29:10 +0300
committerGitHub <noreply@github.com>2017-01-02 22:29:10 +0300
commit8ee17005234d535ef3d311817ad23992fb9932f2 (patch)
treed998e29912119367fd9d6866f05e90bb0adbd9c5 /src/types
parent454b2017b87f1796afbafcde19796ab934a89146 (diff)
parent0466be7b03710caec9cf1037342b4004b2360af2 (diff)
Merge pull request #31 from kukin-konstantin/master
API Update
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";