summaryrefslogtreecommitdiff
path: root/src/types
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2016-04-03 00:09:06 +0400
committerOleg Morozenkov <omorozenkov@gmail.com>2016-04-03 00:09:06 +0400
commitb6fd8d8ff899240580c5973bd75d74c5167b8d3d (patch)
treeb24d43cd2a13ba923de495961bf9a5e613ae683a /src/types
parent2195ce0768fa8903633164c0c45060c412cd5670 (diff)
parentb937e88dd43a7708f40af6a3c333046e3121a77a (diff)
Merge pull request #19 from aadeg/master
Implementing inline mode BIS
Diffstat (limited to 'src/types')
-rw-r--r--src/types/InlineQueryResult.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/types/InlineQueryResult.cpp b/src/types/InlineQueryResult.cpp
new file mode 100644
index 0000000..be1f14a
--- /dev/null
+++ b/src/types/InlineQueryResult.cpp
@@ -0,0 +1,16 @@
+//
+// Created by Andrea Giove on 27/03/16.
+//
+#include "tgbot/types/InlineQueryResultArticle.h"
+#include "tgbot/types/InlineQueryResultGif.h"
+#include "tgbot/types/InlineQueryResultMpeg4Gif.h"
+#include "tgbot/types/InlineQueryResultPhoto.h"
+#include "tgbot/types/InlineQueryResultVideo.h"
+
+using namespace TgBot;
+
+const std::string InlineQueryResultArticle::TYPE = "article";
+const std::string InlineQueryResultGif::TYPE = "gif";
+const std::string InlineQueryResultMpeg4Gif::TYPE = "mpeg4_gif";
+const std::string InlineQueryResultPhoto::TYPE = "photo";
+const std::string InlineQueryResultVideo::TYPE = "video";