From b22c20c4db8c35eaee99075d055f74697c5805b8 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 15 Jan 2017 02:33:59 +0300 Subject: Docs --- docs/d8/d05/_reply_keyboard_remove_8h.html | 116 +++++++++ docs/d8/d05/_reply_keyboard_remove_8h_source.html | 105 ++++++++ docs/d8/d12/_http_client_8h.html | 119 +++++++++ docs/d8/d12/_http_client_8h_source.html | 106 ++++++++ .../d14/class_tg_bot_1_1_http_req_arg-members.html | 106 ++++++++ ...1_inline_query_result_cached_video-members.html | 113 +++++++++ ...g_bot_1_1_inline_query_result_cached_video.html | 270 ++++++++++++++++++++ ..._tg_bot_1_1_inline_query_result_cached_video.js | 7 + ...tg_bot_1_1_inline_query_result_cached_video.png | Bin 0 -> 846 bytes docs/d8/d47/_string_tools_8h.html | 129 ++++++++++ docs/d8/d47/_string_tools_8h.js | 10 + docs/d8/d47/_string_tools_8h_source.html | 105 ++++++++ docs/d8/d6e/_inline_query_8h.html | 118 +++++++++ docs/d8/d6e/_inline_query_8h_source.html | 110 ++++++++ docs/d8/d74/_http_parser_8h.html | 119 +++++++++ docs/d8/d74/_http_parser_8h_source.html | 113 +++++++++ ...1_inline_query_result_cached_audio-members.html | 112 +++++++++ docs/d8/d9d/namespace_tg_bot.html | 244 ++++++++++++++++++ docs/d8/d9d/namespace_tg_bot.js | 73 ++++++ docs/d8/dae/_inline_keyboard_button_8h.html | 116 +++++++++ docs/d8/dae/_inline_keyboard_button_8h_source.html | 106 ++++++++ ...1_1_inline_query_result_cached_gif-members.html | 112 +++++++++ docs/d8/dd7/_inline_query_result_contact_8h.html | 117 +++++++++ .../_inline_query_result_contact_8h_source.html | 112 +++++++++ docs/d8/ddf/class_tg_bot_1_1_video.html | 271 ++++++++++++++++++++ docs/d8/ddf/class_tg_bot_1_1_video.js | 11 + ..._tg_bot_1_1_inline_keyboard_markup-members.html | 103 ++++++++ docs/d8/ded/class_tg_bot_1_1_http_req_arg.html | 276 +++++++++++++++++++++ docs/d8/ded/class_tg_bot_1_1_http_req_arg.js | 9 + ..._1_1_input_contact_message_content-members.html | 109 ++++++++ docs/d8/df3/tgbot_8h.html | 140 +++++++++++ docs/d8/df3/tgbot_8h_source.html | 138 +++++++++++ 32 files changed, 3695 insertions(+) create mode 100644 docs/d8/d05/_reply_keyboard_remove_8h.html create mode 100644 docs/d8/d05/_reply_keyboard_remove_8h_source.html create mode 100644 docs/d8/d12/_http_client_8h.html create mode 100644 docs/d8/d12/_http_client_8h_source.html create mode 100644 docs/d8/d14/class_tg_bot_1_1_http_req_arg-members.html create mode 100644 docs/d8/d21/class_tg_bot_1_1_inline_query_result_cached_video-members.html create mode 100644 docs/d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.html create mode 100644 docs/d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.js create mode 100644 docs/d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.png create mode 100644 docs/d8/d47/_string_tools_8h.html create mode 100644 docs/d8/d47/_string_tools_8h.js create mode 100644 docs/d8/d47/_string_tools_8h_source.html create mode 100644 docs/d8/d6e/_inline_query_8h.html create mode 100644 docs/d8/d6e/_inline_query_8h_source.html create mode 100644 docs/d8/d74/_http_parser_8h.html create mode 100644 docs/d8/d74/_http_parser_8h_source.html create mode 100644 docs/d8/d99/class_tg_bot_1_1_inline_query_result_cached_audio-members.html create mode 100644 docs/d8/d9d/namespace_tg_bot.html create mode 100644 docs/d8/d9d/namespace_tg_bot.js create mode 100644 docs/d8/dae/_inline_keyboard_button_8h.html create mode 100644 docs/d8/dae/_inline_keyboard_button_8h_source.html create mode 100644 docs/d8/dd0/class_tg_bot_1_1_inline_query_result_cached_gif-members.html create mode 100644 docs/d8/dd7/_inline_query_result_contact_8h.html create mode 100644 docs/d8/dd7/_inline_query_result_contact_8h_source.html create mode 100644 docs/d8/ddf/class_tg_bot_1_1_video.html create mode 100644 docs/d8/ddf/class_tg_bot_1_1_video.js create mode 100644 docs/d8/de9/class_tg_bot_1_1_inline_keyboard_markup-members.html create mode 100644 docs/d8/ded/class_tg_bot_1_1_http_req_arg.html create mode 100644 docs/d8/ded/class_tg_bot_1_1_http_req_arg.js create mode 100644 docs/d8/df2/class_tg_bot_1_1_input_contact_message_content-members.html create mode 100644 docs/d8/df3/tgbot_8h.html create mode 100644 docs/d8/df3/tgbot_8h_source.html (limited to 'docs/d8') diff --git a/docs/d8/d05/_reply_keyboard_remove_8h.html b/docs/d8/d05/_reply_keyboard_remove_8h.html new file mode 100644 index 0000000..2997ef6 --- /dev/null +++ b/docs/d8/d05/_reply_keyboard_remove_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ReplyKeyboardRemove.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ReplyKeyboardRemove.h File Reference
+
+
+
#include <memory>
+#include "tgbot/types/GenericReply.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::ReplyKeyboardRemove
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d8/d05/_reply_keyboard_remove_8h_source.html b/docs/d8/d05/_reply_keyboard_remove_8h_source.html new file mode 100644 index 0000000..495472e --- /dev/null +++ b/docs/d8/d05/_reply_keyboard_remove_8h_source.html @@ -0,0 +1,105 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ReplyKeyboardRemove.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ReplyKeyboardRemove.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_CPP_REPLYKEYBOARDREMOVE_H
6 #define TGBOT_CPP_REPLYKEYBOARDREMOVE_H
7 
8 #include <memory>
9 
11 
12 namespace TgBot {
13 
21 
22 public:
23  typedef std::shared_ptr<ReplyKeyboardRemove> Ptr;
24 
29  const bool removeKeyboard = true;
30 
35  bool selective = false;
36 };
37 
38 }
39 
40 #endif //TGBOT_CPP_REPLYKEYBOARDREMOVE_H
Definition: Api.h:44
+ + + +
std::shared_ptr< ReplyKeyboardRemove > Ptr
+ + +
+
+ + + + diff --git a/docs/d8/d12/_http_client_8h.html b/docs/d8/d12/_http_client_8h.html new file mode 100644 index 0000000..a44a8a9 --- /dev/null +++ b/docs/d8/d12/_http_client_8h.html @@ -0,0 +1,119 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/HttpClient.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
HttpClient.h File Reference
+
+
+
#include <string>
+#include <boost/asio.hpp>
+#include "tgbot/net/Url.h"
+#include "tgbot/net/HttpReqArg.h"
+#include "tgbot/net/HttpParser.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::HttpClient
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d8/d12/_http_client_8h_source.html b/docs/d8/d12/_http_client_8h_source.html new file mode 100644 index 0000000..c5fbd88 --- /dev/null +++ b/docs/d8/d12/_http_client_8h_source.html @@ -0,0 +1,106 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/HttpClient.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
HttpClient.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_HTTPCLIENT_H
24 #define TGBOT_HTTPCLIENT_H
25 
26 #include <string>
27 
28 #include <boost/asio.hpp>
29 
30 #include "tgbot/net/Url.h"
31 #include "tgbot/net/HttpReqArg.h"
32 #include "tgbot/net/HttpParser.h"
33 
34 namespace TgBot {
35 
40 class HttpClient {
41 
42 public:
46  static HttpClient& getInstance();
47 
53  std::string makeRequest(const Url& url, const std::vector<HttpReqArg>& args);
54 
55 private:
56  boost::asio::io_service _ioService;
57 };
58 
59 }
60 
61 #endif //TGBOT_HTTPCLIENT_H
Definition: Api.h:44
+ + + + +
Definition: Url.h:34
+
static HttpClient & getInstance()
+
std::string makeRequest(const Url &url, const std::vector< HttpReqArg > &args)
+
+
+ + + + diff --git a/docs/d8/d14/class_tg_bot_1_1_http_req_arg-members.html b/docs/d8/d14/class_tg_bot_1_1_http_req_arg-members.html new file mode 100644 index 0000000..2b547fd --- /dev/null +++ b/docs/d8/d14/class_tg_bot_1_1_http_req_arg-members.html @@ -0,0 +1,106 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::HttpReqArg Member List
+
+
+ +

This is the complete list of members for TgBot::HttpReqArg, including all inherited members.

+ + + + + + + +
fileNameTgBot::HttpReqArg
HttpReqArg(const std::string &name, const T &value, bool isFile=false, const std::string &mimeType="text/plain", const std::string &fileName="")TgBot::HttpReqArginline
isFileTgBot::HttpReqArg
mimeTypeTgBot::HttpReqArg
nameTgBot::HttpReqArg
valueTgBot::HttpReqArg
+
+ + + + diff --git a/docs/d8/d21/class_tg_bot_1_1_inline_query_result_cached_video-members.html b/docs/d8/d21/class_tg_bot_1_1_inline_query_result_cached_video-members.html new file mode 100644 index 0000000..197aaad --- /dev/null +++ b/docs/d8/d21/class_tg_bot_1_1_inline_query_result_cached_video-members.html @@ -0,0 +1,113 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::InlineQueryResultCachedVideo Member List
+
+ +
+ + + + diff --git a/docs/d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.html b/docs/d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.html new file mode 100644 index 0000000..e5d4843 --- /dev/null +++ b/docs/d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.html @@ -0,0 +1,270 @@ + + + + + + + +tgbot-cpp: TgBot::InlineQueryResultCachedVideo Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::InlineQueryResultCachedVideo Class Reference
+
+
+ +

#include <InlineQueryResultCachedVideo.h>

+
+Inheritance diagram for TgBot::InlineQueryResultCachedVideo:
+
+
+ + +TgBot::InlineQueryResult + +
+ + + + + + + +

+Public Types

typedef std::shared_ptr< InlineQueryResultCachedVideoPtr
 
- Public Types inherited from TgBot::InlineQueryResult
typedef std::shared_ptr< InlineQueryResultPtr
 
+ + + + + + + + +

+Public Member Functions

 InlineQueryResultCachedVideo ()
 
- Public Member Functions inherited from TgBot::InlineQueryResult
 InlineQueryResult ()
 
virtual ~InlineQueryResult ()
 
+ + + + + + + + + + + + + + + + + + +

+Public Attributes

std::string videoFileId
 
std::string description
 
- Public Attributes inherited from TgBot::InlineQueryResult
std::string type
 
std::string id
 
std::string title
 
std::string caption
 
InlineKeyboardMarkup::Ptr replyMarkup
 
InputMessageContent::Ptr inputMessageContent
 
+ + + +

+Static Public Attributes

static const std::string TYPE
 
+

Detailed Description

+

Represents a link to a video file stored on the Telegram servers.

+ +

Definition at line 19 of file InlineQueryResultCachedVideo.h.

+

Member Typedef Documentation

+ +

◆ Ptr

+ +
+
+ +

Definition at line 23 of file InlineQueryResultCachedVideo.h.

+ +
+
+

Constructor & Destructor Documentation

+ +

◆ InlineQueryResultCachedVideo()

+ +
+
+ + + + + +
+ + + + + + + +
TgBot::InlineQueryResultCachedVideo::InlineQueryResultCachedVideo ()
+
+inline
+
+ +

Definition at line 25 of file InlineQueryResultCachedVideo.h.

+ +
+
+

Member Data Documentation

+ +

◆ description

+ +
+
+ + + + +
std::string TgBot::InlineQueryResultCachedVideo::description
+
+

Optional. Short description of the result

+ +

Definition at line 37 of file InlineQueryResultCachedVideo.h.

+ +
+
+ +

◆ TYPE

+ +
+
+ + + + + +
+ + + + +
const std::string TgBot::InlineQueryResultCachedVideo::TYPE
+
+static
+
+ +

Definition at line 21 of file InlineQueryResultCachedVideo.h.

+ +
+
+ +

◆ videoFileId

+ +
+
+ + + + +
std::string TgBot::InlineQueryResultCachedVideo::videoFileId
+
+

A valid file identifier of the video

+ +

Definition at line 32 of file InlineQueryResultCachedVideo.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.js b/docs/d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.js new file mode 100644 index 0000000..da6abb6 --- /dev/null +++ b/docs/d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.js @@ -0,0 +1,7 @@ +var class_tg_bot_1_1_inline_query_result_cached_video = +[ + [ "Ptr", "d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.html#a91d532c7ec70a7362c3c5b94b1eef563", null ], + [ "InlineQueryResultCachedVideo", "d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.html#ab67710f0343f80f75efc8d090e8e76c7", null ], + [ "description", "d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.html#a9e8cec9c88eaa986929575dda800f833", null ], + [ "videoFileId", "d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.html#abea4deca4249a41cb3fbe999ed820fa0", null ] +]; \ No newline at end of file diff --git a/docs/d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.png b/docs/d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.png new file mode 100644 index 0000000..69c75f2 Binary files /dev/null and b/docs/d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.png differ diff --git a/docs/d8/d47/_string_tools_8h.html b/docs/d8/d47/_string_tools_8h.html new file mode 100644 index 0000000..2909884 --- /dev/null +++ b/docs/d8/d47/_string_tools_8h.html @@ -0,0 +1,129 @@ + + + + + + + +tgbot-cpp: include/tgbot/tools/StringTools.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
StringTools.h File Reference
+
+
+
#include <vector>
+#include <string>
+#include <sstream>
+
+

Go to the source code of this file.

+ + + + +

+Namespaces

 StringTools
 
+ + + + + + + + + + + + + + + +

+Functions

bool StringTools::startsWith (const std::string &str1, const std::string &str2)
 
bool StringTools::endsWith (const std::string &str1, const std::string &str2)
 
void StringTools::split (const std::string &str, char delimiter, std::vector< std::string > &dest)
 
std::string StringTools::generateRandomString (size_t length)
 
std::string StringTools::urlEncode (const std::string &value, const std::string &additionalLegitChars="")
 
std::string StringTools::urlDecode (const std::string &value)
 
std::vector< std::string > StringTools::split (const std::string &str, char delimiter)
 
+
+
+ + + + diff --git a/docs/d8/d47/_string_tools_8h.js b/docs/d8/d47/_string_tools_8h.js new file mode 100644 index 0000000..2ff9f16 --- /dev/null +++ b/docs/d8/d47/_string_tools_8h.js @@ -0,0 +1,10 @@ +var _string_tools_8h = +[ + [ "endsWith", "d8/d47/_string_tools_8h.html#a56ad2f85f783a58212b6d049c2df7c13", null ], + [ "generateRandomString", "d8/d47/_string_tools_8h.html#a78a624fa5a1ee47cca1e025c799a26d9", null ], + [ "split", "d8/d47/_string_tools_8h.html#a0136fb0794d49068fd59ee54863feaf0", null ], + [ "split", "d8/d47/_string_tools_8h.html#abca17ac29bcc3e047459f3250497bd26", null ], + [ "startsWith", "d8/d47/_string_tools_8h.html#a4e79ae0938faa2be79b4004f8d38cc36", null ], + [ "urlDecode", "d8/d47/_string_tools_8h.html#ae7831577f52841166e96c93357956369", null ], + [ "urlEncode", "d8/d47/_string_tools_8h.html#a6c54e792856444bd52f5a3f40df376b7", null ] +]; \ No newline at end of file diff --git a/docs/d8/d47/_string_tools_8h_source.html b/docs/d8/d47/_string_tools_8h_source.html new file mode 100644 index 0000000..1075720 --- /dev/null +++ b/docs/d8/d47/_string_tools_8h_source.html @@ -0,0 +1,105 @@ + + + + + + + +tgbot-cpp: include/tgbot/tools/StringTools.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
StringTools.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_CPP_STRINGTOOLS_H
24 #define TGBOT_CPP_STRINGTOOLS_H
25 
26 #include <vector>
27 #include <string>
28 #include <sstream>
29 
33 namespace StringTools {
34 
40 bool startsWith(const std::string& str1, const std::string& str2);
41 
47 bool endsWith(const std::string& str1, const std::string& str2);
48 
55 void split(const std::string& str, char delimiter, std::vector<std::string>& dest);
56 
61 std::string generateRandomString(size_t length);
62 
69 std::string urlEncode(const std::string& value, const std::string& additionalLegitChars = "");
70 
76 std::string urlDecode(const std::string& value);
77 
84 inline std::vector<std::string> split(const std::string& str, char delimiter) {
85  std::vector<std::string> result;
86  split(str, delimiter, result);
87  return result;
88 }
89 
90 }
91 
92 #endif //TGBOT_CPP_STRINGTOOLS_H
+
bool endsWith(const std::string &str1, const std::string &str2)
+
std::string urlDecode(const std::string &value)
+
std::string generateRandomString(size_t length)
+
bool startsWith(const std::string &str1, const std::string &str2)
+
void split(const std::string &str, char delimiter, std::vector< std::string > &dest)
+
std::string urlEncode(const std::string &value, const std::string &additionalLegitChars="")
+
+
+ + + + diff --git a/docs/d8/d6e/_inline_query_8h.html b/docs/d8/d6e/_inline_query_8h.html new file mode 100644 index 0000000..3a9008c --- /dev/null +++ b/docs/d8/d6e/_inline_query_8h.html @@ -0,0 +1,118 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQuery.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQuery.h File Reference
+
+
+
#include <memory>
+#include <string>
+#include "tgbot/types/User.h"
+#include "tgbot/types/Location.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQuery
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d8/d6e/_inline_query_8h_source.html b/docs/d8/d6e/_inline_query_8h_source.html new file mode 100644 index 0000000..7d0471a --- /dev/null +++ b/docs/d8/d6e/_inline_query_8h_source.html @@ -0,0 +1,110 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQuery.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQuery.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 26/03/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERY_H
6 #define TGBOT_INLINEQUERY_H
7 
8 #include <memory>
9 #include <string>
10 
11 #include "tgbot/types/User.h"
12 #include "tgbot/types/Location.h"
13 
14 namespace TgBot {
15 
20 class InlineQuery {
21 public:
22  typedef std::shared_ptr<InlineQuery> Ptr;
23 
27  std::string id;
28 
33 
38 
42  std::string query;
43 
47  std::string offset;
48 };
49 
50 }
51 
52 #endif //TGBOT_INLINEQUERY_H
Definition: Api.h:44
+ +
std::shared_ptr< Location > Ptr
Definition: Location.h:37
+
std::string query
Definition: InlineQuery.h:42
+
Location::Ptr location
Definition: InlineQuery.h:37
+
std::string offset
Definition: InlineQuery.h:47
+ + + +
std::shared_ptr< InlineQuery > Ptr
Definition: InlineQuery.h:22
+
std::string id
Definition: InlineQuery.h:27
+
std::shared_ptr< User > Ptr
Definition: User.h:38
+
+
+ + + + diff --git a/docs/d8/d74/_http_parser_8h.html b/docs/d8/d74/_http_parser_8h.html new file mode 100644 index 0000000..7185010 --- /dev/null +++ b/docs/d8/d74/_http_parser_8h.html @@ -0,0 +1,119 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/HttpParser.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
HttpParser.h File Reference
+
+
+
#include <string>
+#include <map>
+#include <vector>
+#include "tgbot/net/Url.h"
+#include "tgbot/net/HttpReqArg.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::HttpParser
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d8/d74/_http_parser_8h_source.html b/docs/d8/d74/_http_parser_8h_source.html new file mode 100644 index 0000000..cc28e89 --- /dev/null +++ b/docs/d8/d74/_http_parser_8h_source.html @@ -0,0 +1,113 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/HttpParser.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
HttpParser.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_HTTPPARSER_H
24 #define TGBOT_HTTPPARSER_H
25 
26 #include <string>
27 #include <map>
28 #include <vector>
29 
30 #include "tgbot/net/Url.h"
31 #include "tgbot/net/HttpReqArg.h"
32 
33 namespace TgBot {
34 
35 class HttpParser {
36 
37 public:
38  static HttpParser& getInstance();
39 
40  std::string generateRequest(const Url& url, const std::vector<HttpReqArg>& args, bool isKeepAlive = false);
41  std::string generateMultipartFormData(const std::vector<HttpReqArg>& args, const std::string& bondary);
42  std::string generateMultipartBoundary(const std::vector<HttpReqArg>& args);
43  std::string generateWwwFormUrlencoded(const std::vector<HttpReqArg>& args);
44  std::string generateResponse(const std::string& data, const std::string& mimeType = "text/plain", short unsigned statusCode = 200, const std::string& statusStr = "OK", bool isKeepAlive = false);
45 
46  inline std::string parseRequest(const std::string& data, std::map<std::string, std::string>& headers) {
47  return parseHttp(true, data, headers);
48  }
49 
50  inline std::string parseRequest(const std::string& data) {
51  return parseHttp(true, data);
52  }
53 
54  inline std::string parseResponse(const std::string& data, std::map<std::string, std::string>& headers) {
55  return parseHttp(false, data, headers);
56  }
57 
58  inline std::string parseResponse(const std::string& data) {
59  return parseHttp(false, data);
60  }
61 
62 private:
63  std::string parseHttp(bool isRequest, const std::string& data, std::map<std::string, std::string>& headers);
64  std::string parseHttp(bool isRequest, const std::string& data);
65 };
66 
67 }
68 
69 #endif //TGBOT_HTTPPARSER_H
std::string parseResponse(const std::string &data)
Definition: HttpParser.h:58
+ +
Definition: Api.h:44
+
std::string generateWwwFormUrlencoded(const std::vector< HttpReqArg > &args)
+ +
std::string parseResponse(const std::string &data, std::map< std::string, std::string > &headers)
Definition: HttpParser.h:54
+
std::string generateMultipartFormData(const std::vector< HttpReqArg > &args, const std::string &bondary)
+
std::string generateMultipartBoundary(const std::vector< HttpReqArg > &args)
+ +
std::string generateResponse(const std::string &data, const std::string &mimeType="text/plain", short unsigned statusCode=200, const std::string &statusStr="OK", bool isKeepAlive=false)
+
static HttpParser & getInstance()
+
std::string parseRequest(const std::string &data)
Definition: HttpParser.h:50
+
Definition: Url.h:34
+
std::string parseRequest(const std::string &data, std::map< std::string, std::string > &headers)
Definition: HttpParser.h:46
+
std::string generateRequest(const Url &url, const std::vector< HttpReqArg > &args, bool isKeepAlive=false)
+
+
+ + + + diff --git a/docs/d8/d99/class_tg_bot_1_1_inline_query_result_cached_audio-members.html b/docs/d8/d99/class_tg_bot_1_1_inline_query_result_cached_audio-members.html new file mode 100644 index 0000000..efc0662 --- /dev/null +++ b/docs/d8/d99/class_tg_bot_1_1_inline_query_result_cached_audio-members.html @@ -0,0 +1,112 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::InlineQueryResultCachedAudio Member List
+
+ +
+ + + + diff --git a/docs/d8/d9d/namespace_tg_bot.html b/docs/d8/d9d/namespace_tg_bot.html new file mode 100644 index 0000000..99b4052 --- /dev/null +++ b/docs/d8/d9d/namespace_tg_bot.html @@ -0,0 +1,244 @@ + + + + + + + +tgbot-cpp: TgBot Namespace Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot Namespace Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Classes

class  Api
 
class  Audio
 
class  Bot
 
class  CallbackQuery
 
class  Chat
 
class  ChatMember
 
class  ChosenInlineResult
 
class  Contact
 
class  Document
 
class  EventBroadcaster
 
class  EventHandler
 
class  File
 
class  ForceReply
 
class  GenericReply
 
class  HttpClient
 
class  HttpParser
 
class  HttpReqArg
 
class  HttpServer
 
class  InlineKeyboardButton
 
class  InlineKeyboardMarkup
 
class  InlineQuery
 
class  InlineQueryResult
 
class  InlineQueryResultArticle
 
class  InlineQueryResultAudio
 
class  InlineQueryResultCachedAudio
 
class  InlineQueryResultCachedDocument
 
class  InlineQueryResultCachedGif
 
class  InlineQueryResultCachedMpeg4Gif
 
class  InlineQueryResultCachedPhoto
 
class  InlineQueryResultCachedSticker
 
class  InlineQueryResultCachedVideo
 
class  InlineQueryResultCachedVoice
 
class  InlineQueryResultContact
 
class  InlineQueryResultDocument
 
class  InlineQueryResultGame
 
class  InlineQueryResultGif
 
class  InlineQueryResultLocation
 
class  InlineQueryResultMpeg4Gif
 
class  InlineQueryResultPhoto
 
class  InlineQueryResultVenue
 
class  InlineQueryResultVideo
 
class  InlineQueryResultVoice
 
class  InputContactMessageContent
 
class  InputFile
 
class  InputLocationMessageContent
 
class  InputMessageContent
 
class  InputTextMessageContent
 
class  InputVenueMessageContent
 
class  KeyboardButton
 
class  Location
 
class  Message
 
class  MessageEntity
 
class  PhotoSize
 
class  ReplyKeyboardMarkup
 
class  ReplyKeyboardRemove
 
class  ResponseParameters
 
class  Sticker
 
class  TgException
 
class  TgLongPoll
 
class  TgTypeParser
 
class  TgWebhookServer
 
class  TgWebhookTcpServer
 
class  Update
 
class  Url
 
class  User
 
class  UserProfilePhotos
 
class  Venue
 
class  Video
 
class  Voice
 
class  WebhookInfo
 
+
+
+ + + + diff --git a/docs/d8/d9d/namespace_tg_bot.js b/docs/d8/d9d/namespace_tg_bot.js new file mode 100644 index 0000000..eea2a30 --- /dev/null +++ b/docs/d8/d9d/namespace_tg_bot.js @@ -0,0 +1,73 @@ +var namespace_tg_bot = +[ + [ "Api", "d9/d69/class_tg_bot_1_1_api.html", "d9/d69/class_tg_bot_1_1_api" ], + [ "Audio", "d1/d00/class_tg_bot_1_1_audio.html", "d1/d00/class_tg_bot_1_1_audio" ], + [ "Bot", "d1/dd9/class_tg_bot_1_1_bot.html", "d1/dd9/class_tg_bot_1_1_bot" ], + [ "CallbackQuery", "d3/df8/class_tg_bot_1_1_callback_query.html", "d3/df8/class_tg_bot_1_1_callback_query" ], + [ "Chat", "d2/dfb/class_tg_bot_1_1_chat.html", "d2/dfb/class_tg_bot_1_1_chat" ], + [ "ChatMember", "dd/d05/class_tg_bot_1_1_chat_member.html", "dd/d05/class_tg_bot_1_1_chat_member" ], + [ "ChosenInlineResult", "d4/dbc/class_tg_bot_1_1_chosen_inline_result.html", "d4/dbc/class_tg_bot_1_1_chosen_inline_result" ], + [ "Contact", "df/d32/class_tg_bot_1_1_contact.html", "df/d32/class_tg_bot_1_1_contact" ], + [ "Document", "d4/d61/class_tg_bot_1_1_document.html", "d4/d61/class_tg_bot_1_1_document" ], + [ "EventBroadcaster", "dc/db7/class_tg_bot_1_1_event_broadcaster.html", "dc/db7/class_tg_bot_1_1_event_broadcaster" ], + [ "EventHandler", "d2/df5/class_tg_bot_1_1_event_handler.html", "d2/df5/class_tg_bot_1_1_event_handler" ], + [ "File", "dd/dbe/class_tg_bot_1_1_file.html", "dd/dbe/class_tg_bot_1_1_file" ], + [ "ForceReply", "d4/de1/class_tg_bot_1_1_force_reply.html", "d4/de1/class_tg_bot_1_1_force_reply" ], + [ "GenericReply", "d2/d60/class_tg_bot_1_1_generic_reply.html", "d2/d60/class_tg_bot_1_1_generic_reply" ], + [ "HttpClient", "d5/d82/class_tg_bot_1_1_http_client.html", "d5/d82/class_tg_bot_1_1_http_client" ], + [ "HttpParser", "de/d0d/class_tg_bot_1_1_http_parser.html", "de/d0d/class_tg_bot_1_1_http_parser" ], + [ "HttpReqArg", "d8/ded/class_tg_bot_1_1_http_req_arg.html", "d8/ded/class_tg_bot_1_1_http_req_arg" ], + [ "HttpServer", "d4/d8b/class_tg_bot_1_1_http_server.html", "d4/d8b/class_tg_bot_1_1_http_server" ], + [ "InlineKeyboardButton", "d2/d70/class_tg_bot_1_1_inline_keyboard_button.html", "d2/d70/class_tg_bot_1_1_inline_keyboard_button" ], + [ "InlineKeyboardMarkup", "d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.html", "d5/d8a/class_tg_bot_1_1_inline_keyboard_markup" ], + [ "InlineQuery", "d2/d62/class_tg_bot_1_1_inline_query.html", "d2/d62/class_tg_bot_1_1_inline_query" ], + [ "InlineQueryResult", "dd/dfd/class_tg_bot_1_1_inline_query_result.html", "dd/dfd/class_tg_bot_1_1_inline_query_result" ], + [ "InlineQueryResultArticle", "d3/d73/class_tg_bot_1_1_inline_query_result_article.html", "d3/d73/class_tg_bot_1_1_inline_query_result_article" ], + [ "InlineQueryResultAudio", "d7/d9e/class_tg_bot_1_1_inline_query_result_audio.html", "d7/d9e/class_tg_bot_1_1_inline_query_result_audio" ], + [ "InlineQueryResultCachedAudio", "d7/d0b/class_tg_bot_1_1_inline_query_result_cached_audio.html", "d7/d0b/class_tg_bot_1_1_inline_query_result_cached_audio" ], + [ "InlineQueryResultCachedDocument", "de/d17/class_tg_bot_1_1_inline_query_result_cached_document.html", "de/d17/class_tg_bot_1_1_inline_query_result_cached_document" ], + [ "InlineQueryResultCachedGif", "d7/d65/class_tg_bot_1_1_inline_query_result_cached_gif.html", "d7/d65/class_tg_bot_1_1_inline_query_result_cached_gif" ], + [ "InlineQueryResultCachedMpeg4Gif", "d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.html", "d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif" ], + [ "InlineQueryResultCachedPhoto", "df/ddf/class_tg_bot_1_1_inline_query_result_cached_photo.html", "df/ddf/class_tg_bot_1_1_inline_query_result_cached_photo" ], + [ "InlineQueryResultCachedSticker", "d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.html", "d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker" ], + [ "InlineQueryResultCachedVideo", "d8/d35/class_tg_bot_1_1_inline_query_result_cached_video.html", "d8/d35/class_tg_bot_1_1_inline_query_result_cached_video" ], + [ "InlineQueryResultCachedVoice", "da/d5b/class_tg_bot_1_1_inline_query_result_cached_voice.html", "da/d5b/class_tg_bot_1_1_inline_query_result_cached_voice" ], + [ "InlineQueryResultContact", "d1/dea/class_tg_bot_1_1_inline_query_result_contact.html", "d1/dea/class_tg_bot_1_1_inline_query_result_contact" ], + [ "InlineQueryResultDocument", "d1/d25/class_tg_bot_1_1_inline_query_result_document.html", "d1/d25/class_tg_bot_1_1_inline_query_result_document" ], + [ "InlineQueryResultGame", "d1/d0b/class_tg_bot_1_1_inline_query_result_game.html", "d1/d0b/class_tg_bot_1_1_inline_query_result_game" ], + [ "InlineQueryResultGif", "d1/d3b/class_tg_bot_1_1_inline_query_result_gif.html", "d1/d3b/class_tg_bot_1_1_inline_query_result_gif" ], + [ "InlineQueryResultLocation", "da/d97/class_tg_bot_1_1_inline_query_result_location.html", "da/d97/class_tg_bot_1_1_inline_query_result_location" ], + [ "InlineQueryResultMpeg4Gif", "df/d1e/class_tg_bot_1_1_inline_query_result_mpeg4_gif.html", "df/d1e/class_tg_bot_1_1_inline_query_result_mpeg4_gif" ], + [ "InlineQueryResultPhoto", "dc/d02/class_tg_bot_1_1_inline_query_result_photo.html", "dc/d02/class_tg_bot_1_1_inline_query_result_photo" ], + [ "InlineQueryResultVenue", "df/d8f/class_tg_bot_1_1_inline_query_result_venue.html", "df/d8f/class_tg_bot_1_1_inline_query_result_venue" ], + [ "InlineQueryResultVideo", "de/d19/class_tg_bot_1_1_inline_query_result_video.html", "de/d19/class_tg_bot_1_1_inline_query_result_video" ], + [ "InlineQueryResultVoice", "d9/d76/class_tg_bot_1_1_inline_query_result_voice.html", "d9/d76/class_tg_bot_1_1_inline_query_result_voice" ], + [ "InputContactMessageContent", "dc/dc6/class_tg_bot_1_1_input_contact_message_content.html", "dc/dc6/class_tg_bot_1_1_input_contact_message_content" ], + [ "InputFile", "d0/d38/class_tg_bot_1_1_input_file.html", "d0/d38/class_tg_bot_1_1_input_file" ], + [ "InputLocationMessageContent", "d9/dec/class_tg_bot_1_1_input_location_message_content.html", "d9/dec/class_tg_bot_1_1_input_location_message_content" ], + [ "InputMessageContent", "d3/d6c/class_tg_bot_1_1_input_message_content.html", "d3/d6c/class_tg_bot_1_1_input_message_content" ], + [ "InputTextMessageContent", "de/dac/class_tg_bot_1_1_input_text_message_content.html", "de/dac/class_tg_bot_1_1_input_text_message_content" ], + [ "InputVenueMessageContent", "d1/de8/class_tg_bot_1_1_input_venue_message_content.html", "d1/de8/class_tg_bot_1_1_input_venue_message_content" ], + [ "KeyboardButton", "d9/d70/class_tg_bot_1_1_keyboard_button.html", "d9/d70/class_tg_bot_1_1_keyboard_button" ], + [ "Location", "d1/d6f/class_tg_bot_1_1_location.html", "d1/d6f/class_tg_bot_1_1_location" ], + [ "Message", "d6/dce/class_tg_bot_1_1_message.html", "d6/dce/class_tg_bot_1_1_message" ], + [ "MessageEntity", "dd/d7e/class_tg_bot_1_1_message_entity.html", "dd/d7e/class_tg_bot_1_1_message_entity" ], + [ "PhotoSize", "de/d9f/class_tg_bot_1_1_photo_size.html", "de/d9f/class_tg_bot_1_1_photo_size" ], + [ "ReplyKeyboardMarkup", "d2/d80/class_tg_bot_1_1_reply_keyboard_markup.html", "d2/d80/class_tg_bot_1_1_reply_keyboard_markup" ], + [ "ReplyKeyboardRemove", "d0/dff/class_tg_bot_1_1_reply_keyboard_remove.html", "d0/dff/class_tg_bot_1_1_reply_keyboard_remove" ], + [ "ResponseParameters", "d1/def/class_tg_bot_1_1_response_parameters.html", "d1/def/class_tg_bot_1_1_response_parameters" ], + [ "Sticker", "da/d17/class_tg_bot_1_1_sticker.html", "da/d17/class_tg_bot_1_1_sticker" ], + [ "TgException", "d3/deb/class_tg_bot_1_1_tg_exception.html", "d3/deb/class_tg_bot_1_1_tg_exception" ], + [ "TgLongPoll", "d1/d2a/class_tg_bot_1_1_tg_long_poll.html", "d1/d2a/class_tg_bot_1_1_tg_long_poll" ], + [ "TgTypeParser", "d1/d15/class_tg_bot_1_1_tg_type_parser.html", "d1/d15/class_tg_bot_1_1_tg_type_parser" ], + [ "TgWebhookServer", "d5/d98/class_tg_bot_1_1_tg_webhook_server.html", "d5/d98/class_tg_bot_1_1_tg_webhook_server" ], + [ "TgWebhookTcpServer", "d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server.html", "d6/d97/class_tg_bot_1_1_tg_webhook_tcp_server" ], + [ "Update", "d3/dab/class_tg_bot_1_1_update.html", "d3/dab/class_tg_bot_1_1_update" ], + [ "Url", "d9/d86/class_tg_bot_1_1_url.html", "d9/d86/class_tg_bot_1_1_url" ], + [ "User", "d1/d53/class_tg_bot_1_1_user.html", "d1/d53/class_tg_bot_1_1_user" ], + [ "UserProfilePhotos", "df/d40/class_tg_bot_1_1_user_profile_photos.html", "df/d40/class_tg_bot_1_1_user_profile_photos" ], + [ "Venue", "db/d8b/class_tg_bot_1_1_venue.html", "db/d8b/class_tg_bot_1_1_venue" ], + [ "Video", "d8/ddf/class_tg_bot_1_1_video.html", "d8/ddf/class_tg_bot_1_1_video" ], + [ "Voice", "d6/d91/class_tg_bot_1_1_voice.html", "d6/d91/class_tg_bot_1_1_voice" ], + [ "WebhookInfo", "d7/d25/class_tg_bot_1_1_webhook_info.html", "d7/d25/class_tg_bot_1_1_webhook_info" ] +]; \ No newline at end of file diff --git a/docs/d8/dae/_inline_keyboard_button_8h.html b/docs/d8/dae/_inline_keyboard_button_8h.html new file mode 100644 index 0000000..b33235c --- /dev/null +++ b/docs/d8/dae/_inline_keyboard_button_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineKeyboardButton.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineKeyboardButton.h File Reference
+
+
+
#include <string>
+#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineKeyboardButton
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d8/dae/_inline_keyboard_button_8h_source.html b/docs/d8/dae/_inline_keyboard_button_8h_source.html new file mode 100644 index 0000000..1864a63 --- /dev/null +++ b/docs/d8/dae/_inline_keyboard_button_8h_source.html @@ -0,0 +1,106 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineKeyboardButton.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineKeyboardButton.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 17/04/16.
3 //
4 
5 #ifndef TGBOT_INLINEKEYBOARDBUTTON_H
6 #define TGBOT_INLINEKEYBOARDBUTTON_H
7 
8 #include <string>
9 #include <memory>
10 
11 namespace TgBot {
12 
18 public:
19  typedef std::shared_ptr<InlineKeyboardButton> Ptr;
20 
24  std::string text;
25 
29  std::string url;
30 
34  std::string callbackData;
35 
39  std::string switchInlineQuery;
40 
45 };
46 }
47 
48 #endif //TGBOT_INLINEKEYBOARDBUTTON_H
std::shared_ptr< InlineKeyboardButton > Ptr
+
Definition: Api.h:44
+ + + + + + +
+
+ + + + diff --git a/docs/d8/dd0/class_tg_bot_1_1_inline_query_result_cached_gif-members.html b/docs/d8/dd0/class_tg_bot_1_1_inline_query_result_cached_gif-members.html new file mode 100644 index 0000000..e1b86ab --- /dev/null +++ b/docs/d8/dd0/class_tg_bot_1_1_inline_query_result_cached_gif-members.html @@ -0,0 +1,112 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::InlineQueryResultCachedGif Member List
+
+ +
+ + + + diff --git a/docs/d8/dd7/_inline_query_result_contact_8h.html b/docs/d8/dd7/_inline_query_result_contact_8h.html new file mode 100644 index 0000000..fd29478 --- /dev/null +++ b/docs/d8/dd7/_inline_query_result_contact_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultContact.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultContact.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultContact
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d8/dd7/_inline_query_result_contact_8h_source.html b/docs/d8/dd7/_inline_query_result_contact_8h_source.html new file mode 100644 index 0000000..5b53056 --- /dev/null +++ b/docs/d8/dd7/_inline_query_result_contact_8h_source.html @@ -0,0 +1,112 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultContact.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultContact.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTCONTACT_H
6 #define TGBOT_INLINEQUERYRESULTCONTACT_H
7 
8 #include <string>
9 #include <memory>
10 
12 
13 namespace TgBot {
14 
20 public:
21  static const std::string TYPE;
22 
23  typedef std::shared_ptr<InlineQueryResultContact> Ptr;
24 
26  this->type = TYPE;
27  this->thumbHeight = 0;
28  this->thumbWidth = 0;
29  }
30 
34  std::string phoneNumber;
35 
39  std::string firstName;
40 
44  std::string lastName;
45 
49  std::string thumbUrl;
50 
54  int32_t thumbWidth;
55 
59  int32_t thumbHeight;
60 };
61 }
62 
63 #endif //TGBOT_INLINEQUERYRESULTCONTACT_H
std::shared_ptr< InlineQueryResultContact > Ptr
+ +
Definition: Api.h:44
+ + + + + + + + + + + +
+
+ + + + diff --git a/docs/d8/ddf/class_tg_bot_1_1_video.html b/docs/d8/ddf/class_tg_bot_1_1_video.html new file mode 100644 index 0000000..2578d9f --- /dev/null +++ b/docs/d8/ddf/class_tg_bot_1_1_video.html @@ -0,0 +1,271 @@ + + + + + + + +tgbot-cpp: TgBot::Video Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::Video Class Reference
+
+
+ +

#include <Video.h>

+ + + + +

+Public Types

typedef std::shared_ptr< VideoPtr
 
+ + + + + + + + + + + + + + + +

+Public Attributes

std::string fileId
 
int32_t width
 
int32_t height
 
int32_t duration
 
PhotoSize::Ptr thumb
 
std::string mimeType
 
int32_t fileSize
 
+

Detailed Description

+

This object represents a video file.

+ +

Definition at line 37 of file Video.h.

+

Member Typedef Documentation

+ +

◆ Ptr

+ +
+
+ + + + +
typedef std::shared_ptr<Video> TgBot::Video::Ptr
+
+ +

Definition at line 40 of file Video.h.

+ +
+
+

Member Data Documentation

+ +

◆ duration

+ +
+
+ + + + +
int32_t TgBot::Video::duration
+
+

Duration of the video in seconds as defined by sender.

+ +

Definition at line 60 of file Video.h.

+ +
+
+ +

◆ fileId

+ +
+
+ + + + +
std::string TgBot::Video::fileId
+
+

Unique identifier for this file.

+ +

Definition at line 45 of file Video.h.

+ +
+
+ +

◆ fileSize

+ +
+
+ + + + +
int32_t TgBot::Video::fileSize
+
+

Optional. File size.

+ +

Definition at line 75 of file Video.h.

+ +
+
+ +

◆ height

+ +
+
+ + + + +
int32_t TgBot::Video::height
+
+

Video height as defined by sender.

+ +

Definition at line 55 of file Video.h.

+ +
+
+ +

◆ mimeType

+ +
+
+ + + + +
std::string TgBot::Video::mimeType
+
+

Optional. Mime type of a file as defined by sender

+ +

Definition at line 70 of file Video.h.

+ +
+
+ +

◆ thumb

+ +
+
+ + + + +
PhotoSize::Ptr TgBot::Video::thumb
+
+

Optional. Video thumbnail.

+ +

Definition at line 65 of file Video.h.

+ +
+
+ +

◆ width

+ +
+
+ + + + +
int32_t TgBot::Video::width
+
+

Video width as defined by sender.

+ +

Definition at line 50 of file Video.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d8/ddf/class_tg_bot_1_1_video.js b/docs/d8/ddf/class_tg_bot_1_1_video.js new file mode 100644 index 0000000..07942b2 --- /dev/null +++ b/docs/d8/ddf/class_tg_bot_1_1_video.js @@ -0,0 +1,11 @@ +var class_tg_bot_1_1_video = +[ + [ "Ptr", "d8/ddf/class_tg_bot_1_1_video.html#a0005786d327b3e363cb13c18e9ee0593", null ], + [ "duration", "d8/ddf/class_tg_bot_1_1_video.html#a93c71de6b8a012b185618a896c4c5e5a", null ], + [ "fileId", "d8/ddf/class_tg_bot_1_1_video.html#a588d9dab172e6828c1aea49c169bb289", null ], + [ "fileSize", "d8/ddf/class_tg_bot_1_1_video.html#aebbdeaf632d9438f050797bd84ab6c8f", null ], + [ "height", "d8/ddf/class_tg_bot_1_1_video.html#a0aea87cd20a804a8e8410858b6d40968", null ], + [ "mimeType", "d8/ddf/class_tg_bot_1_1_video.html#a4162b4cc66825ce32fea222399ef3356", null ], + [ "thumb", "d8/ddf/class_tg_bot_1_1_video.html#ab71e1325c685af9e67ddf0af418a77a7", null ], + [ "width", "d8/ddf/class_tg_bot_1_1_video.html#a65ea94712e107b2e36109f5ec88b0a35", null ] +]; \ No newline at end of file diff --git a/docs/d8/de9/class_tg_bot_1_1_inline_keyboard_markup-members.html b/docs/d8/de9/class_tg_bot_1_1_inline_keyboard_markup-members.html new file mode 100644 index 0000000..50e2145 --- /dev/null +++ b/docs/d8/de9/class_tg_bot_1_1_inline_keyboard_markup-members.html @@ -0,0 +1,103 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::InlineKeyboardMarkup Member List
+
+
+ +

This is the complete list of members for TgBot::InlineKeyboardMarkup, including all inherited members.

+ + + + +
inlineKeyboardTgBot::InlineKeyboardMarkup
Ptr typedefTgBot::InlineKeyboardMarkup
~GenericReply()TgBot::GenericReplyinlinevirtual
+
+ + + + diff --git a/docs/d8/ded/class_tg_bot_1_1_http_req_arg.html b/docs/d8/ded/class_tg_bot_1_1_http_req_arg.html new file mode 100644 index 0000000..ad7dbd0 --- /dev/null +++ b/docs/d8/ded/class_tg_bot_1_1_http_req_arg.html @@ -0,0 +1,276 @@ + + + + + + + +tgbot-cpp: TgBot::HttpReqArg Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::HttpReqArg Class Reference
+
+
+ +

#include <HttpReqArg.h>

+ + + + + +

+Public Member Functions

template<typename T >
 HttpReqArg (const std::string &name, const T &value, bool isFile=false, const std::string &mimeType="text/plain", const std::string &fileName="")
 
+ + + + + + + + + + + +

+Public Attributes

std::string name
 
std::string value
 
bool isFile = false
 
std::string mimeType = "text/plain"
 
std::string fileName
 
+

Detailed Description

+

This class represents argument in POST http requests.

+ +

Definition at line 38 of file HttpReqArg.h.

+

Constructor & Destructor Documentation

+ +

◆ HttpReqArg()

+ +
+
+
+template<typename T >
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TgBot::HttpReqArg::HttpReqArg (const std::string & name,
const T & value,
bool isFile = false,
const std::string & mimeType = "text/plain",
const std::string & fileName = "" 
)
+
+inline
+
+ +

Definition at line 42 of file HttpReqArg.h.

+ +
+
+

Member Data Documentation

+ +

◆ fileName

+ +
+
+ + + + +
std::string TgBot::HttpReqArg::fileName
+
+

Should be set if an argument value hold some file contents

+ +

Definition at line 70 of file HttpReqArg.h.

+ +
+
+ +

◆ isFile

+ +
+
+ + + + +
bool TgBot::HttpReqArg::isFile = false
+
+

Should be true if an argument value hold some file contents

+ +

Definition at line 60 of file HttpReqArg.h.

+ +
+
+ +

◆ mimeType

+ +
+
+ + + + +
std::string TgBot::HttpReqArg::mimeType = "text/plain"
+
+

Mime type of an argument value. This field makes sense only if isFile is true.

+ +

Definition at line 65 of file HttpReqArg.h.

+ +
+
+ +

◆ name

+ +
+
+ + + + +
std::string TgBot::HttpReqArg::name
+
+

Name of an argument.

+ +

Definition at line 50 of file HttpReqArg.h.

+ +
+
+ +

◆ value

+ +
+
+ + + + +
std::string TgBot::HttpReqArg::value
+
+

Value of an argument.

+ +

Definition at line 55 of file HttpReqArg.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d8/ded/class_tg_bot_1_1_http_req_arg.js b/docs/d8/ded/class_tg_bot_1_1_http_req_arg.js new file mode 100644 index 0000000..adfbd65 --- /dev/null +++ b/docs/d8/ded/class_tg_bot_1_1_http_req_arg.js @@ -0,0 +1,9 @@ +var class_tg_bot_1_1_http_req_arg = +[ + [ "HttpReqArg", "d8/ded/class_tg_bot_1_1_http_req_arg.html#aaff7072fe781f191ddca430088447d19", null ], + [ "fileName", "d8/ded/class_tg_bot_1_1_http_req_arg.html#af75b0592fd96d9dcc31f7f5dc95425dc", null ], + [ "isFile", "d8/ded/class_tg_bot_1_1_http_req_arg.html#a9e372ea4360d239037cfeb673d31d9f3", null ], + [ "mimeType", "d8/ded/class_tg_bot_1_1_http_req_arg.html#a74387e5b5fe9713a805b33e693930bd5", null ], + [ "name", "d8/ded/class_tg_bot_1_1_http_req_arg.html#a9772f0982d33fdebe587106d0b4f921d", null ], + [ "value", "d8/ded/class_tg_bot_1_1_http_req_arg.html#ae854084229a093b6819953d0055844eb", null ] +]; \ No newline at end of file diff --git a/docs/d8/df2/class_tg_bot_1_1_input_contact_message_content-members.html b/docs/d8/df2/class_tg_bot_1_1_input_contact_message_content-members.html new file mode 100644 index 0000000..fe28c99 --- /dev/null +++ b/docs/d8/df2/class_tg_bot_1_1_input_contact_message_content-members.html @@ -0,0 +1,109 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::InputContactMessageContent Member List
+
+ +
+ + + + diff --git a/docs/d8/df3/tgbot_8h.html b/docs/d8/df3/tgbot_8h.html new file mode 100644 index 0000000..3ea18dd --- /dev/null +++ b/docs/d8/df3/tgbot_8h.html @@ -0,0 +1,140 @@ + + + + + + + +tgbot-cpp: include/tgbot/tgbot.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
tgbot.h File Reference
+
+
+
#include "tgbot/Bot.h"
+#include "tgbot/Api.h"
+#include "tgbot/TgException.h"
+#include "tgbot/TgTypeParser.h"
+#include "tgbot/EventBroadcaster.h"
+#include "tgbot/EventHandler.h"
+#include "tgbot/types/Audio.h"
+#include "tgbot/types/Contact.h"
+#include "tgbot/types/Document.h"
+#include "tgbot/types/ForceReply.h"
+#include "tgbot/types/GenericReply.h"
+#include "tgbot/types/InputFile.h"
+#include "tgbot/types/Location.h"
+#include "tgbot/types/Message.h"
+#include "tgbot/types/PhotoSize.h"
+#include "tgbot/types/ReplyKeyboardRemove.h"
+#include "tgbot/types/ReplyKeyboardMarkup.h"
+#include "tgbot/types/Sticker.h"
+#include "tgbot/types/Update.h"
+#include "tgbot/types/User.h"
+#include "tgbot/types/UserProfilePhotos.h"
+#include "tgbot/types/Video.h"
+#include "tgbot/types/InlineQuery.h"
+#include "tgbot/types/InlineQueryResult.h"
+#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"
+#include "tgbot/types/ChosenInlineResult.h"
+#include "tgbot/tools/StringTools.h"
+#include "tgbot/net/HttpClient.h"
+#include "tgbot/net/HttpParser.h"
+#include "tgbot/net/HttpReqArg.h"
+#include "tgbot/net/HttpServer.h"
+#include "tgbot/net/TgLongPoll.h"
+#include "tgbot/net/TgWebhookLocalServer.h"
+#include "tgbot/net/TgWebhookServer.h"
+#include "tgbot/net/TgWebhookTcpServer.h"
+#include "tgbot/net/Url.h"
+
+

Go to the source code of this file.

+
+
+ + + + diff --git a/docs/d8/df3/tgbot_8h_source.html b/docs/d8/df3/tgbot_8h_source.html new file mode 100644 index 0000000..315719e --- /dev/null +++ b/docs/d8/df3/tgbot_8h_source.html @@ -0,0 +1,138 @@ + + + + + + + +tgbot-cpp: include/tgbot/tgbot.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
tgbot.h
+
+
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in all
12  * copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20  * SOFTWARE.
21  */
22 
23 #ifndef TGBOT_TGBOT_H
24 #define TGBOT_TGBOT_H
25 
26 #include "tgbot/Bot.h"
27 #include "tgbot/Api.h"
28 #include "tgbot/TgException.h"
29 #include "tgbot/TgTypeParser.h"
30 #include "tgbot/EventBroadcaster.h"
31 #include "tgbot/EventHandler.h"
32 #include "tgbot/types/Audio.h"
33 #include "tgbot/types/Contact.h"
34 #include "tgbot/types/Document.h"
35 #include "tgbot/types/ForceReply.h"
37 #include "tgbot/types/InputFile.h"
38 #include "tgbot/types/Location.h"
39 #include "tgbot/types/Message.h"
40 #include "tgbot/types/PhotoSize.h"
43 #include "tgbot/types/Sticker.h"
44 #include "tgbot/types/Update.h"
45 #include "tgbot/types/User.h"
47 #include "tgbot/types/Video.h"
57 #include "tgbot/net/HttpClient.h"
58 #include "tgbot/net/HttpParser.h"
59 #include "tgbot/net/HttpReqArg.h"
60 #include "tgbot/net/HttpServer.h"
61 #include "tgbot/net/TgLongPoll.h"
65 #include "tgbot/net/Url.h"
66 
105 #endif //TGBOT_TGBOT_H
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + +
+
+ + + + -- cgit v1.2.3