From b22c20c4db8c35eaee99075d055f74697c5805b8 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 15 Jan 2017 02:33:59 +0300 Subject: Docs --- ...s_tg_bot_1_1_input_message_content-members.html | 104 +++++++ ...ass_tg_bot_1_1_user_profile_photos-members.html | 103 ++++++ .../d21/class_tg_bot_1_1_tg_exception-members.html | 101 ++++++ ..._bot_1_1_inline_query_result_video-members.html | 118 +++++++ .../class_tg_bot_1_1_input_message_content.html | 233 ++++++++++++++ .../d6c/class_tg_bot_1_1_input_message_content.js | 7 + .../d6c/class_tg_bot_1_1_input_message_content.png | Bin 0 -> 1699 bytes ...ass_tg_bot_1_1_inline_query_result_article.html | 346 +++++++++++++++++++++ ...class_tg_bot_1_1_inline_query_result_article.js | 11 + ...lass_tg_bot_1_1_inline_query_result_article.png | Bin 0 -> 778 bytes docs/d3/d75/_user_8h.html | 116 +++++++ docs/d3/d75/_user_8h_source.html | 105 +++++++ .../class_tg_bot_1_1_callback_query-members.html | 108 +++++++ docs/d3/d9a/_tg_webhook_local_server_8h.html | 100 ++++++ .../d3/d9a/_tg_webhook_local_server_8h_source.html | 100 ++++++ docs/d3/d9c/_input_text_message_content_8h.html | 116 +++++++ .../d9c/_input_text_message_content_8h_source.html | 107 +++++++ docs/d3/dab/class_tg_bot_1_1_update.html | 290 +++++++++++++++++ docs/d3/dab/class_tg_bot_1_1_update.js | 12 + ..._bot_1_1_inline_query_result_audio-members.html | 114 +++++++ docs/d3/dc0/class_tg_bot_1_1_bot-members.html | 105 +++++++ docs/d3/dcb/_inline_query_result_document_8h.html | 117 +++++++ .../_inline_query_result_document_8h_source.html | 112 +++++++ docs/d3/deb/class_tg_bot_1_1_tg_exception.html | 151 +++++++++ docs/d3/deb/class_tg_bot_1_1_tg_exception.js | 4 + docs/d3/deb/class_tg_bot_1_1_tg_exception.png | Bin 0 -> 545 bytes docs/d3/df8/class_tg_bot_1_1_callback_query.html | 270 ++++++++++++++++ docs/d3/df8/class_tg_bot_1_1_callback_query.js | 11 + 28 files changed, 2961 insertions(+) create mode 100644 docs/d3/d00/class_tg_bot_1_1_input_message_content-members.html create mode 100644 docs/d3/d04/class_tg_bot_1_1_user_profile_photos-members.html create mode 100644 docs/d3/d21/class_tg_bot_1_1_tg_exception-members.html create mode 100644 docs/d3/d33/class_tg_bot_1_1_inline_query_result_video-members.html create mode 100644 docs/d3/d6c/class_tg_bot_1_1_input_message_content.html create mode 100644 docs/d3/d6c/class_tg_bot_1_1_input_message_content.js create mode 100644 docs/d3/d6c/class_tg_bot_1_1_input_message_content.png create mode 100644 docs/d3/d73/class_tg_bot_1_1_inline_query_result_article.html create mode 100644 docs/d3/d73/class_tg_bot_1_1_inline_query_result_article.js create mode 100644 docs/d3/d73/class_tg_bot_1_1_inline_query_result_article.png create mode 100644 docs/d3/d75/_user_8h.html create mode 100644 docs/d3/d75/_user_8h_source.html create mode 100644 docs/d3/d88/class_tg_bot_1_1_callback_query-members.html create mode 100644 docs/d3/d9a/_tg_webhook_local_server_8h.html create mode 100644 docs/d3/d9a/_tg_webhook_local_server_8h_source.html create mode 100644 docs/d3/d9c/_input_text_message_content_8h.html create mode 100644 docs/d3/d9c/_input_text_message_content_8h_source.html create mode 100644 docs/d3/dab/class_tg_bot_1_1_update.html create mode 100644 docs/d3/dab/class_tg_bot_1_1_update.js create mode 100644 docs/d3/db6/class_tg_bot_1_1_inline_query_result_audio-members.html create mode 100644 docs/d3/dc0/class_tg_bot_1_1_bot-members.html create mode 100644 docs/d3/dcb/_inline_query_result_document_8h.html create mode 100644 docs/d3/dcb/_inline_query_result_document_8h_source.html create mode 100644 docs/d3/deb/class_tg_bot_1_1_tg_exception.html create mode 100644 docs/d3/deb/class_tg_bot_1_1_tg_exception.js create mode 100644 docs/d3/deb/class_tg_bot_1_1_tg_exception.png create mode 100644 docs/d3/df8/class_tg_bot_1_1_callback_query.html create mode 100644 docs/d3/df8/class_tg_bot_1_1_callback_query.js (limited to 'docs/d3') diff --git a/docs/d3/d00/class_tg_bot_1_1_input_message_content-members.html b/docs/d3/d00/class_tg_bot_1_1_input_message_content-members.html new file mode 100644 index 0000000..5d7de6f --- /dev/null +++ b/docs/d3/d00/class_tg_bot_1_1_input_message_content-members.html @@ -0,0 +1,104 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::InputMessageContent Member List
+
+
+ +

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

+ + + + + +
InputMessageContent(const std::string &tType)TgBot::InputMessageContentinline
Ptr typedefTgBot::InputMessageContent
typeTgBot::InputMessageContent
~InputMessageContent()TgBot::InputMessageContentinlinevirtual
+
+ + + + diff --git a/docs/d3/d04/class_tg_bot_1_1_user_profile_photos-members.html b/docs/d3/d04/class_tg_bot_1_1_user_profile_photos-members.html new file mode 100644 index 0000000..bba20f8 --- /dev/null +++ b/docs/d3/d04/class_tg_bot_1_1_user_profile_photos-members.html @@ -0,0 +1,103 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::UserProfilePhotos Member List
+
+
+ +

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

+ + + + +
photosTgBot::UserProfilePhotos
Ptr typedefTgBot::UserProfilePhotos
totalCountTgBot::UserProfilePhotos
+
+ + + + diff --git a/docs/d3/d21/class_tg_bot_1_1_tg_exception-members.html b/docs/d3/d21/class_tg_bot_1_1_tg_exception-members.html new file mode 100644 index 0000000..32cbd2b --- /dev/null +++ b/docs/d3/d21/class_tg_bot_1_1_tg_exception-members.html @@ -0,0 +1,101 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::TgException Member List
+
+
+ +

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

+ + +
TgException(const std::string description)TgBot::TgExceptionexplicit
+
+ + + + diff --git a/docs/d3/d33/class_tg_bot_1_1_inline_query_result_video-members.html b/docs/d3/d33/class_tg_bot_1_1_inline_query_result_video-members.html new file mode 100644 index 0000000..0f68283 --- /dev/null +++ b/docs/d3/d33/class_tg_bot_1_1_inline_query_result_video-members.html @@ -0,0 +1,118 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::InlineQueryResultVideo Member List
+
+ +
+ + + + diff --git a/docs/d3/d6c/class_tg_bot_1_1_input_message_content.html b/docs/d3/d6c/class_tg_bot_1_1_input_message_content.html new file mode 100644 index 0000000..c2823af --- /dev/null +++ b/docs/d3/d6c/class_tg_bot_1_1_input_message_content.html @@ -0,0 +1,233 @@ + + + + + + + +tgbot-cpp: TgBot::InputMessageContent Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::InputMessageContent Class Reference
+
+
+ +

#include <InputMessageContent.h>

+
+Inheritance diagram for TgBot::InputMessageContent:
+
+
+ + +TgBot::InputContactMessageContent +TgBot::InputLocationMessageContent +TgBot::InputTextMessageContent +TgBot::InputVenueMessageContent + +
+ + + + +

+Public Types

typedef std::shared_ptr< InputMessageContentPtr
 
+ + + + + +

+Public Member Functions

 InputMessageContent (const std::string &tType)
 
virtual ~InputMessageContent ()
 
+ + + +

+Public Attributes

std::string type
 
+

Detailed Description

+

This object represents the content of a message to be sent as a result of an inline query.

+ +

Definition at line 16 of file InputMessageContent.h.

+

Member Typedef Documentation

+ +

◆ Ptr

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

Definition at line 18 of file InputMessageContent.h.

+ +
+
+

Constructor & Destructor Documentation

+ +

◆ InputMessageContent()

+ +
+
+ + + + + +
+ + + + + + + + +
TgBot::InputMessageContent::InputMessageContent (const std::string & tType)
+
+inline
+
+ +

Definition at line 20 of file InputMessageContent.h.

+ +
+
+ +

◆ ~InputMessageContent()

+ +
+
+ + + + + +
+ + + + + + + +
virtual TgBot::InputMessageContent::~InputMessageContent ()
+
+inlinevirtual
+
+ +

Definition at line 33 of file InputMessageContent.h.

+ +
+
+

Member Data Documentation

+ +

◆ type

+ +
+
+ + + + +
std::string TgBot::InputMessageContent::type
+
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d3/d6c/class_tg_bot_1_1_input_message_content.js b/docs/d3/d6c/class_tg_bot_1_1_input_message_content.js new file mode 100644 index 0000000..3f71dfe --- /dev/null +++ b/docs/d3/d6c/class_tg_bot_1_1_input_message_content.js @@ -0,0 +1,7 @@ +var class_tg_bot_1_1_input_message_content = +[ + [ "Ptr", "d3/d6c/class_tg_bot_1_1_input_message_content.html#a2357dd0a36321a3b601b64a76d2d6dff", null ], + [ "InputMessageContent", "d3/d6c/class_tg_bot_1_1_input_message_content.html#adfe3185ed78c3bfdfb82bee0546eb100", null ], + [ "~InputMessageContent", "d3/d6c/class_tg_bot_1_1_input_message_content.html#a102a0b7456c22110a7cf751f0273ee7d", null ], + [ "type", "d3/d6c/class_tg_bot_1_1_input_message_content.html#ad9bc101393caa3296bdae0fe01f4e033", null ] +]; \ No newline at end of file diff --git a/docs/d3/d6c/class_tg_bot_1_1_input_message_content.png b/docs/d3/d6c/class_tg_bot_1_1_input_message_content.png new file mode 100644 index 0000000..ef013ab Binary files /dev/null and b/docs/d3/d6c/class_tg_bot_1_1_input_message_content.png differ diff --git a/docs/d3/d73/class_tg_bot_1_1_inline_query_result_article.html b/docs/d3/d73/class_tg_bot_1_1_inline_query_result_article.html new file mode 100644 index 0000000..319fe14 --- /dev/null +++ b/docs/d3/d73/class_tg_bot_1_1_inline_query_result_article.html @@ -0,0 +1,346 @@ + + + + + + + +tgbot-cpp: TgBot::InlineQueryResultArticle Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::InlineQueryResultArticle Class Reference
+
+
+ +

#include <InlineQueryResultArticle.h>

+
+Inheritance diagram for TgBot::InlineQueryResultArticle:
+
+
+ + +TgBot::InlineQueryResult + +
+ + + + + + + +

+Public Types

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

+Public Member Functions

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

+Public Attributes

std::string url
 
bool hideUrl
 
std::string description
 
std::string thumbUrl
 
int32_t thumbWidth
 
int32_t thumbHeight
 
- 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 an article of web page.

+ +

Definition at line 19 of file InlineQueryResultArticle.h.

+

Member Typedef Documentation

+ +

◆ Ptr

+ +
+
+ +

Definition at line 23 of file InlineQueryResultArticle.h.

+ +
+
+

Constructor & Destructor Documentation

+ +

◆ InlineQueryResultArticle()

+ +
+
+ + + + + +
+ + + + + + + +
TgBot::InlineQueryResultArticle::InlineQueryResultArticle ()
+
+inline
+
+ +

Definition at line 25 of file InlineQueryResultArticle.h.

+ +
+
+

Member Data Documentation

+ +

◆ description

+ +
+
+ + + + +
std::string TgBot::InlineQueryResultArticle::description
+
+

Optional. Short description of the result.

+ +

Definition at line 45 of file InlineQueryResultArticle.h.

+ +
+
+ +

◆ hideUrl

+ +
+
+ + + + +
bool TgBot::InlineQueryResultArticle::hideUrl
+
+

Optional. Pass True if you don't want the URL to be shown in the message.

+ +

Definition at line 40 of file InlineQueryResultArticle.h.

+ +
+
+ +

◆ thumbHeight

+ +
+
+ + + + +
int32_t TgBot::InlineQueryResultArticle::thumbHeight
+
+

Optinal. Thumbnail height

+ +

Definition at line 60 of file InlineQueryResultArticle.h.

+ +
+
+ +

◆ thumbUrl

+ +
+
+ + + + +
std::string TgBot::InlineQueryResultArticle::thumbUrl
+
+

Optional. Url of the thumbnail for the result

+ +

Definition at line 50 of file InlineQueryResultArticle.h.

+ +
+
+ +

◆ thumbWidth

+ +
+
+ + + + +
int32_t TgBot::InlineQueryResultArticle::thumbWidth
+
+

Optional. Thumbnail width.

+ +

Definition at line 55 of file InlineQueryResultArticle.h.

+ +
+
+ +

◆ TYPE

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

Definition at line 21 of file InlineQueryResultArticle.h.

+ +
+
+ +

◆ url

+ +
+
+ + + + +
std::string TgBot::InlineQueryResultArticle::url
+
+

Optional. URL of the result.

+ +

Definition at line 35 of file InlineQueryResultArticle.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d3/d73/class_tg_bot_1_1_inline_query_result_article.js b/docs/d3/d73/class_tg_bot_1_1_inline_query_result_article.js new file mode 100644 index 0000000..dccf357 --- /dev/null +++ b/docs/d3/d73/class_tg_bot_1_1_inline_query_result_article.js @@ -0,0 +1,11 @@ +var class_tg_bot_1_1_inline_query_result_article = +[ + [ "Ptr", "d3/d73/class_tg_bot_1_1_inline_query_result_article.html#abde520162c5e38947c32dd0c11c00c69", null ], + [ "InlineQueryResultArticle", "d3/d73/class_tg_bot_1_1_inline_query_result_article.html#a5d70803e8c68ea279c0d620f73623b90", null ], + [ "description", "d3/d73/class_tg_bot_1_1_inline_query_result_article.html#adb17d53fd713e3203b6e3ebf4947d404", null ], + [ "hideUrl", "d3/d73/class_tg_bot_1_1_inline_query_result_article.html#a4f2858334ee45a2e409e82cdb5be0256", null ], + [ "thumbHeight", "d3/d73/class_tg_bot_1_1_inline_query_result_article.html#aff3b505e37177d9e7e6e2983c0aedcba", null ], + [ "thumbUrl", "d3/d73/class_tg_bot_1_1_inline_query_result_article.html#a842471f67e9ae13cbe79e1a1bb43b21e", null ], + [ "thumbWidth", "d3/d73/class_tg_bot_1_1_inline_query_result_article.html#a20bcfc41429b0b8f77339ffa45ebf42d", null ], + [ "url", "d3/d73/class_tg_bot_1_1_inline_query_result_article.html#a772fc689e3813a8025eb3c0d69e6a109", null ] +]; \ No newline at end of file diff --git a/docs/d3/d73/class_tg_bot_1_1_inline_query_result_article.png b/docs/d3/d73/class_tg_bot_1_1_inline_query_result_article.png new file mode 100644 index 0000000..b06c924 Binary files /dev/null and b/docs/d3/d73/class_tg_bot_1_1_inline_query_result_article.png differ diff --git a/docs/d3/d75/_user_8h.html b/docs/d3/d75/_user_8h.html new file mode 100644 index 0000000..2bd4607 --- /dev/null +++ b/docs/d3/d75/_user_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/User.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
User.h File Reference
+
+
+
#include <string>
+#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::User
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d3/d75/_user_8h_source.html b/docs/d3/d75/_user_8h_source.html new file mode 100644 index 0000000..02bde7a --- /dev/null +++ b/docs/d3/d75/_user_8h_source.html @@ -0,0 +1,105 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/User.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
User.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_USER_H
24 #define TGBOT_CPP_USER_H
25 
26 #include <string>
27 #include <memory>
28 
29 namespace TgBot {
30 
35 class User {
36 
37 public:
38  typedef std::shared_ptr<User> Ptr;
39 
43  int32_t id;
44 
48  std::string firstName;
49 
53  std::string lastName;
54 
58  std::string username;
59 };
60 
61 }
62 
63 #endif //TGBOT_CPP_USER_H
std::string firstName
Definition: User.h:48
+
Definition: Api.h:44
+
int32_t id
Definition: User.h:43
+
std::string lastName
Definition: User.h:53
+
std::string username
Definition: User.h:58
+ +
std::shared_ptr< User > Ptr
Definition: User.h:38
+
+
+ + + + diff --git a/docs/d3/d88/class_tg_bot_1_1_callback_query-members.html b/docs/d3/d88/class_tg_bot_1_1_callback_query-members.html new file mode 100644 index 0000000..b1c8b44 --- /dev/null +++ b/docs/d3/d88/class_tg_bot_1_1_callback_query-members.html @@ -0,0 +1,108 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::CallbackQuery Member List
+
+ +
+ + + + diff --git a/docs/d3/d9a/_tg_webhook_local_server_8h.html b/docs/d3/d9a/_tg_webhook_local_server_8h.html new file mode 100644 index 0000000..15dd021 --- /dev/null +++ b/docs/d3/d9a/_tg_webhook_local_server_8h.html @@ -0,0 +1,100 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/TgWebhookLocalServer.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgWebhookLocalServer.h File Reference
+
+ +
+ + + + diff --git a/docs/d3/d9a/_tg_webhook_local_server_8h_source.html b/docs/d3/d9a/_tg_webhook_local_server_8h_source.html new file mode 100644 index 0000000..d80d982 --- /dev/null +++ b/docs/d3/d9a/_tg_webhook_local_server_8h_source.html @@ -0,0 +1,100 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/TgWebhookLocalServer.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgWebhookLocalServer.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_TGWEBHOOKTCPSERVER_H
24 #define TGBOT_TGWEBHOOKTCPSERVER_H
25 
26 #ifdef BOOST_ASIO_HAS_LOCAL_SOCKETS
27 
29 
30 namespace TgBot {
31 
36 class TgWebhookLocalServer : public TgWebhookServer<boost::asio::local::stream_protocol> {
37 
38 public:
39  TgWebhookLocalServer(std::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::local::stream_protocol>>& acceptor, const std::string& path, EventHandler* eventHandler) = delete;
40 
41  TgWebhookLocalServer(const std::string& path, const EventHandler* eventHandler) :
42  TgWebhookServer<boost::asio::local::stream_protocol>(std::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::local::stream_protocol>>(new boost::asio::local::stream_protocol::acceptor(_ioService, boost::asio::local::stream_protocol::endpoint(path))), path, eventHandler)
43  {
44  }
45 
46  TgWebhookLocalServer(const std::string& path, const Bot& bot) : TgWebhookLocalServer(path, &bot.getEventHandler()) {
47  }
48 };
49 
50 }
51 
52 #endif //BOOST_ASIO_HAS_LOCAL_SOCKETS
53 
54 #endif //TGBOT_TGWEBHOOKTCPSERVER_H
Definition: Api.h:44
+ +
+
+ + + + diff --git a/docs/d3/d9c/_input_text_message_content_8h.html b/docs/d3/d9c/_input_text_message_content_8h.html new file mode 100644 index 0000000..8bee2f8 --- /dev/null +++ b/docs/d3/d9c/_input_text_message_content_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputTextMessageContent.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InputTextMessageContent.h File Reference
+
+
+
#include <memory>
+#include <string>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InputTextMessageContent
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d3/d9c/_input_text_message_content_8h_source.html b/docs/d3/d9c/_input_text_message_content_8h_source.html new file mode 100644 index 0000000..60b0b16 --- /dev/null +++ b/docs/d3/d9c/_input_text_message_content_8h_source.html @@ -0,0 +1,107 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputTextMessageContent.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InputTextMessageContent.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_INPUTTEXTMESSAGECONTENT_H
6 #define TGBOT_INPUTTEXTMESSAGECONTENT_H
7 
8 #include <memory>
9 #include <string>
10 
11 namespace TgBot {
12 
18 public:
19  typedef std::shared_ptr<InputTextMessageContent> Ptr;
20 
22  InputMessageContent("InputTextMessageContent")
23  {}
24 
28  std::string messageText;
29 
33  std::string parseMode;
34 
39 
41 };
42 }
43 
44 #endif //TGBOT_INPUTTEXTMESSAGECONTENT_H
std::shared_ptr< InputTextMessageContent > Ptr
+
Definition: Api.h:44
+ + + + + + + +
+
+ + + + diff --git a/docs/d3/dab/class_tg_bot_1_1_update.html b/docs/d3/dab/class_tg_bot_1_1_update.html new file mode 100644 index 0000000..069c861 --- /dev/null +++ b/docs/d3/dab/class_tg_bot_1_1_update.html @@ -0,0 +1,290 @@ + + + + + + + +tgbot-cpp: TgBot::Update Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::Update Class Reference
+
+
+ +

#include <Update.h>

+ + + + +

+Public Types

typedef std::shared_ptr< UpdatePtr
 
+ + + + + + + + + + + + + + + + + +

+Public Attributes

int32_t updateId
 
Message::Ptr message
 
Message::Ptr editedMessage
 
Message::Ptr channelPost
 
Message::Ptr editedChannelPost
 
InlineQuery::Ptr inlineQuery
 
ChosenInlineResult::Ptr chosenInlineResult
 
CallbackQuery::Ptr callbackQuery
 
+

Detailed Description

+

This object represents an incoming update.

+ +

Definition at line 39 of file Update.h.

+

Member Typedef Documentation

+ +

◆ Ptr

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

Definition at line 42 of file Update.h.

+ +
+
+

Member Data Documentation

+ +

◆ callbackQuery

+ +
+
+ + + + +
CallbackQuery::Ptr TgBot::Update::callbackQuery
+
+

Optional. New incoming callback query.

+ +

Definition at line 82 of file Update.h.

+ +
+
+ +

◆ channelPost

+ +
+
+ + + + +
Message::Ptr TgBot::Update::channelPost
+
+

Optional. New incoming channel post of any kind — text, photo, sticker, etc.

+ +

Definition at line 62 of file Update.h.

+ +
+
+ +

◆ chosenInlineResult

+ +
+
+ + + + +
ChosenInlineResult::Ptr TgBot::Update::chosenInlineResult
+
+

Optional. The result of an inline query that was chosen by a user and sent to their chat partner.

+ +

Definition at line 77 of file Update.h.

+ +
+
+ +

◆ editedChannelPost

+ +
+
+ + + + +
Message::Ptr TgBot::Update::editedChannelPost
+
+

Optional. New version of a channel post that is known to the bot and was edited

+ +

Definition at line 67 of file Update.h.

+ +
+
+ +

◆ editedMessage

+ +
+
+ + + + +
Message::Ptr TgBot::Update::editedMessage
+
+

Optional. New version of a message that is known to the bot and was edited

+ +

Definition at line 57 of file Update.h.

+ +
+
+ +

◆ inlineQuery

+ +
+
+ + + + +
InlineQuery::Ptr TgBot::Update::inlineQuery
+
+

Optional. New incoming inline query

+ +

Definition at line 72 of file Update.h.

+ +
+
+ +

◆ message

+ +
+
+ + + + +
Message::Ptr TgBot::Update::message
+
+

Optional. New incoming message of any kind — text, photo, sticker, etc.

+ +

Definition at line 52 of file Update.h.

+ +
+
+ +

◆ updateId

+ +
+
+ + + + +
int32_t TgBot::Update::updateId
+
+

The update‘s unique identifier. Update identifiers start from a certain positive number and increase sequentially. This ID becomes especially handy if you’re using Webhooks, since it allows you to ignore repeated updates or to restore the correct update sequence, should they get out of order.

+ +

Definition at line 47 of file Update.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d3/dab/class_tg_bot_1_1_update.js b/docs/d3/dab/class_tg_bot_1_1_update.js new file mode 100644 index 0000000..63cbe86 --- /dev/null +++ b/docs/d3/dab/class_tg_bot_1_1_update.js @@ -0,0 +1,12 @@ +var class_tg_bot_1_1_update = +[ + [ "Ptr", "d3/dab/class_tg_bot_1_1_update.html#abace63cf3605fe7a480a3bb839a672a8", null ], + [ "callbackQuery", "d3/dab/class_tg_bot_1_1_update.html#a2c6890adcab16d6a306b3b89fd954f6f", null ], + [ "channelPost", "d3/dab/class_tg_bot_1_1_update.html#aabddc6947fe255f1763802532d34ef2b", null ], + [ "chosenInlineResult", "d3/dab/class_tg_bot_1_1_update.html#aa3fab72bc10111e2f8f8930c43a0ff8b", null ], + [ "editedChannelPost", "d3/dab/class_tg_bot_1_1_update.html#a05588da55717387ef91434f014afff1b", null ], + [ "editedMessage", "d3/dab/class_tg_bot_1_1_update.html#a188502d94515baee85ba30f58cffa1b5", null ], + [ "inlineQuery", "d3/dab/class_tg_bot_1_1_update.html#aea03e36b9015a0fe9f1278564c5b8806", null ], + [ "message", "d3/dab/class_tg_bot_1_1_update.html#ab65136c0345978742fb3026e6855ff2c", null ], + [ "updateId", "d3/dab/class_tg_bot_1_1_update.html#af4d35314c4e49839f7012a9671ede097", null ] +]; \ No newline at end of file diff --git a/docs/d3/db6/class_tg_bot_1_1_inline_query_result_audio-members.html b/docs/d3/db6/class_tg_bot_1_1_inline_query_result_audio-members.html new file mode 100644 index 0000000..f7f4611 --- /dev/null +++ b/docs/d3/db6/class_tg_bot_1_1_inline_query_result_audio-members.html @@ -0,0 +1,114 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::InlineQueryResultAudio Member List
+
+ +
+ + + + diff --git a/docs/d3/dc0/class_tg_bot_1_1_bot-members.html b/docs/d3/dc0/class_tg_bot_1_1_bot-members.html new file mode 100644 index 0000000..5f5effb --- /dev/null +++ b/docs/d3/dc0/class_tg_bot_1_1_bot-members.html @@ -0,0 +1,105 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::Bot Member List
+
+
+ +

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

+ + + + + + +
Bot(const std::string &token)TgBot::Botinlineexplicit
getApi() constTgBot::Botinline
getEventHandler() constTgBot::Botinline
getEvents()TgBot::Botinline
getToken() constTgBot::Botinline
+
+ + + + diff --git a/docs/d3/dcb/_inline_query_result_document_8h.html b/docs/d3/dcb/_inline_query_result_document_8h.html new file mode 100644 index 0000000..1709b26 --- /dev/null +++ b/docs/d3/dcb/_inline_query_result_document_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultDocument.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultDocument.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultDocument
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d3/dcb/_inline_query_result_document_8h_source.html b/docs/d3/dcb/_inline_query_result_document_8h_source.html new file mode 100644 index 0000000..922b26e --- /dev/null +++ b/docs/d3/dcb/_inline_query_result_document_8h_source.html @@ -0,0 +1,112 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultDocument.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultDocument.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTDOCUMENT_H
6 #define TGBOT_INLINEQUERYRESULTDOCUMENT_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<InlineQueryResultDocument> Ptr;
24 
26  this->type = TYPE;
27  this->thumbHeight = 0;
28  this->thumbWidth = 0;
29  }
30 
34  std::string documentUrl;
35 
39  std::string mimeType;
40 
44  std::string description;
45 
49  std::string thumbUrl;
50 
54  int32_t thumbWidth;
55 
59  int32_t thumbHeight;
60 };
61 }
62 
63 #endif //TGBOT_INLINEQUERYRESULTDOCUMENT_H
+ + +
Definition: Api.h:44
+ + + + +
std::shared_ptr< InlineQueryResultDocument > Ptr
+ + + + + +
+
+ + + + diff --git a/docs/d3/deb/class_tg_bot_1_1_tg_exception.html b/docs/d3/deb/class_tg_bot_1_1_tg_exception.html new file mode 100644 index 0000000..72dedb0 --- /dev/null +++ b/docs/d3/deb/class_tg_bot_1_1_tg_exception.html @@ -0,0 +1,151 @@ + + + + + + + +tgbot-cpp: TgBot::TgException Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::TgException Class Reference
+
+
+ +

#include <TgException.h>

+
+Inheritance diagram for TgBot::TgException:
+
+
+ + + +
+ + + + +

+Public Member Functions

 TgException (const std::string description)
 
+

Detailed Description

+

Exception type which is only thrown when Telegram refuses API request.

+ +

Definition at line 35 of file TgException.h.

+

Constructor & Destructor Documentation

+ +

◆ TgException()

+ +
+
+ + + + + +
+ + + + + + + + +
TgBot::TgException::TgException (const std::string description)
+
+explicit
+
+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d3/deb/class_tg_bot_1_1_tg_exception.js b/docs/d3/deb/class_tg_bot_1_1_tg_exception.js new file mode 100644 index 0000000..8526b91 --- /dev/null +++ b/docs/d3/deb/class_tg_bot_1_1_tg_exception.js @@ -0,0 +1,4 @@ +var class_tg_bot_1_1_tg_exception = +[ + [ "TgException", "d3/deb/class_tg_bot_1_1_tg_exception.html#a3deeaa4d10491dd6824ef954cd0a2d15", null ] +]; \ No newline at end of file diff --git a/docs/d3/deb/class_tg_bot_1_1_tg_exception.png b/docs/d3/deb/class_tg_bot_1_1_tg_exception.png new file mode 100644 index 0000000..bea1e2a Binary files /dev/null and b/docs/d3/deb/class_tg_bot_1_1_tg_exception.png differ diff --git a/docs/d3/df8/class_tg_bot_1_1_callback_query.html b/docs/d3/df8/class_tg_bot_1_1_callback_query.html new file mode 100644 index 0000000..5c4ea35 --- /dev/null +++ b/docs/d3/df8/class_tg_bot_1_1_callback_query.html @@ -0,0 +1,270 @@ + + + + + + + +tgbot-cpp: TgBot::CallbackQuery Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::CallbackQuery Class Reference
+
+
+ +

#include <CallbackQuery.h>

+ + + + +

+Public Types

typedef std::shared_ptr< CallbackQueryPtr
 
+ + + + + + + + + + + + + + + +

+Public Attributes

std::string id
 
User::Ptr from
 
Message::Ptr message
 
std::string inlineMessageId
 
std::string chatInstance
 
std::string data
 
std::string gameShortName
 
+

Detailed Description

+

This object represents an incoming callback query from a callback button in an inline keyboard.

+ +

Definition at line 20 of file CallbackQuery.h.

+

Member Typedef Documentation

+ +

◆ Ptr

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

Definition at line 22 of file CallbackQuery.h.

+ +
+
+

Member Data Documentation

+ +

◆ chatInstance

+ +
+
+ + + + +
std::string TgBot::CallbackQuery::chatInstance
+
+

Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games.

+ +

Definition at line 47 of file CallbackQuery.h.

+ +
+
+ +

◆ data

+ +
+
+ + + + +
std::string TgBot::CallbackQuery::data
+
+

Data associated with the callback button. Be aware that a bad client can send arbitrary data in this field.

+ +

Definition at line 52 of file CallbackQuery.h.

+ +
+
+ +

◆ from

+ +
+
+ + + + +
User::Ptr TgBot::CallbackQuery::from
+
+

Sender.

+ +

Definition at line 32 of file CallbackQuery.h.

+ +
+
+ +

◆ gameShortName

+ +
+
+ + + + +
std::string TgBot::CallbackQuery::gameShortName
+
+ +

Definition at line 57 of file CallbackQuery.h.

+ +
+
+ +

◆ id

+ +
+
+ + + + +
std::string TgBot::CallbackQuery::id
+
+

Unique identifier for this query.

+ +

Definition at line 27 of file CallbackQuery.h.

+ +
+
+ +

◆ inlineMessageId

+ +
+
+ + + + +
std::string TgBot::CallbackQuery::inlineMessageId
+
+

Optional. Identifier of the message sent via the bot in inline mode, that originated the query.

+ +

Definition at line 42 of file CallbackQuery.h.

+ +
+
+ +

◆ message

+ +
+
+ + + + +
Message::Ptr TgBot::CallbackQuery::message
+
+

Optional. Message with the callback button that originated the query. Note that message content and message date will not be available if the message is too old.

+ +

Definition at line 37 of file CallbackQuery.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d3/df8/class_tg_bot_1_1_callback_query.js b/docs/d3/df8/class_tg_bot_1_1_callback_query.js new file mode 100644 index 0000000..a989e4a --- /dev/null +++ b/docs/d3/df8/class_tg_bot_1_1_callback_query.js @@ -0,0 +1,11 @@ +var class_tg_bot_1_1_callback_query = +[ + [ "Ptr", "d3/df8/class_tg_bot_1_1_callback_query.html#a5a5e4f8368bd95ba214e68cde5d1c7c0", null ], + [ "chatInstance", "d3/df8/class_tg_bot_1_1_callback_query.html#a1c60e74159327d5e9e686f4a1278a373", null ], + [ "data", "d3/df8/class_tg_bot_1_1_callback_query.html#a9247402a210f4df79cf044683fb66734", null ], + [ "from", "d3/df8/class_tg_bot_1_1_callback_query.html#a355ff7d9025603af780a63be540da901", null ], + [ "gameShortName", "d3/df8/class_tg_bot_1_1_callback_query.html#ab2547a0ea44c8a39f351354335082234", null ], + [ "id", "d3/df8/class_tg_bot_1_1_callback_query.html#ae9a9b23ba076f2c6d6ba4421de85f7df", null ], + [ "inlineMessageId", "d3/df8/class_tg_bot_1_1_callback_query.html#a1565d380d5aa70d2304f572e5b56a24e", null ], + [ "message", "d3/df8/class_tg_bot_1_1_callback_query.html#a4d36cf008195c0b9b95d2ad7c8561795", null ] +]; \ No newline at end of file -- cgit v1.2.3