From b22c20c4db8c35eaee99075d055f74697c5805b8 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 15 Jan 2017 02:33:59 +0300 Subject: Docs --- ...class_tg_bot_1_1_inline_query_result_photo.html | 327 +++++++++++++++ .../class_tg_bot_1_1_inline_query_result_photo.js | 10 + .../class_tg_bot_1_1_inline_query_result_photo.png | Bin 0 -> 760 bytes docs/dc/d05/class_tg_bot_1_1_video-members.html | 108 +++++ docs/dc/d29/_inline_query_result_video_8h.html | 114 ++++++ .../d29/_inline_query_result_video_8h_source.html | 112 +++++ docs/dc/d30/_voice_8h.html | 116 ++++++ docs/dc/d30/_voice_8h_source.html | 105 +++++ docs/dc/d66/class_tg_bot_1_1_document-members.html | 106 +++++ docs/dc/d67/_http_req_arg_8h.html | 118 ++++++ docs/dc/d67/_http_req_arg_8h_source.html | 106 +++++ .../d6f/_inline_query_result_cached_photo_8h.html | 117 ++++++ ...inline_query_result_cached_photo_8h_source.html | 108 +++++ docs/dc/d75/class_tg_bot_1_1_file-members.html | 104 +++++ docs/dc/d83/_input_message_content_8h.html | 115 ++++++ docs/dc/d83/_input_message_content_8h_source.html | 104 +++++ docs/dc/d83/_input_venue_message_content_8h.html | 116 ++++++ .../_input_venue_message_content_8h_source.html | 109 +++++ .../class_tg_bot_1_1_keyboard_button-members.html | 104 +++++ docs/dc/d93/class_tg_bot_1_1_sticker-members.html | 107 +++++ ...inline_query_result_cached_sticker-members.html | 112 +++++ .../dc/db7/class_tg_bot_1_1_event_broadcaster.html | 449 +++++++++++++++++++++ docs/dc/db7/class_tg_bot_1_1_event_broadcaster.js | 14 + ...s_tg_bot_1_1_input_contact_message_content.html | 278 +++++++++++++ ...ass_tg_bot_1_1_input_contact_message_content.js | 9 + ...ss_tg_bot_1_1_input_contact_message_content.png | Bin 0 -> 839 bytes .../_inline_query_result_cached_document_8h.html | 117 ++++++ ...ine_query_result_cached_document_8h_source.html | 108 +++++ 28 files changed, 3293 insertions(+) create mode 100644 docs/dc/d02/class_tg_bot_1_1_inline_query_result_photo.html create mode 100644 docs/dc/d02/class_tg_bot_1_1_inline_query_result_photo.js create mode 100644 docs/dc/d02/class_tg_bot_1_1_inline_query_result_photo.png create mode 100644 docs/dc/d05/class_tg_bot_1_1_video-members.html create mode 100644 docs/dc/d29/_inline_query_result_video_8h.html create mode 100644 docs/dc/d29/_inline_query_result_video_8h_source.html create mode 100644 docs/dc/d30/_voice_8h.html create mode 100644 docs/dc/d30/_voice_8h_source.html create mode 100644 docs/dc/d66/class_tg_bot_1_1_document-members.html create mode 100644 docs/dc/d67/_http_req_arg_8h.html create mode 100644 docs/dc/d67/_http_req_arg_8h_source.html create mode 100644 docs/dc/d6f/_inline_query_result_cached_photo_8h.html create mode 100644 docs/dc/d6f/_inline_query_result_cached_photo_8h_source.html create mode 100644 docs/dc/d75/class_tg_bot_1_1_file-members.html create mode 100644 docs/dc/d83/_input_message_content_8h.html create mode 100644 docs/dc/d83/_input_message_content_8h_source.html create mode 100644 docs/dc/d83/_input_venue_message_content_8h.html create mode 100644 docs/dc/d83/_input_venue_message_content_8h_source.html create mode 100644 docs/dc/d85/class_tg_bot_1_1_keyboard_button-members.html create mode 100644 docs/dc/d93/class_tg_bot_1_1_sticker-members.html create mode 100644 docs/dc/dae/class_tg_bot_1_1_inline_query_result_cached_sticker-members.html create mode 100644 docs/dc/db7/class_tg_bot_1_1_event_broadcaster.html create mode 100644 docs/dc/db7/class_tg_bot_1_1_event_broadcaster.js create mode 100644 docs/dc/dc6/class_tg_bot_1_1_input_contact_message_content.html create mode 100644 docs/dc/dc6/class_tg_bot_1_1_input_contact_message_content.js create mode 100644 docs/dc/dc6/class_tg_bot_1_1_input_contact_message_content.png create mode 100644 docs/dc/dc7/_inline_query_result_cached_document_8h.html create mode 100644 docs/dc/dc7/_inline_query_result_cached_document_8h_source.html (limited to 'docs/dc') diff --git a/docs/dc/d02/class_tg_bot_1_1_inline_query_result_photo.html b/docs/dc/d02/class_tg_bot_1_1_inline_query_result_photo.html new file mode 100644 index 0000000..5b94dc2 --- /dev/null +++ b/docs/dc/d02/class_tg_bot_1_1_inline_query_result_photo.html @@ -0,0 +1,327 @@ + + + + + + + +tgbot-cpp: TgBot::InlineQueryResultPhoto Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::InlineQueryResultPhoto Class Reference
+
+
+ +

#include <InlineQueryResultPhoto.h>

+
+Inheritance diagram for TgBot::InlineQueryResultPhoto:
+
+
+ + +TgBot::InlineQueryResult + +
+ + + + + + + +

+Public Types

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

+Public Member Functions

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

+Public Attributes

std::string photoUrl
 
std::string thumbUrl
 
int32_t photoWidth
 
int32_t photoHeight
 
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 photo.

+ +

Definition at line 19 of file InlineQueryResultPhoto.h.

+

Member Typedef Documentation

+ +

◆ Ptr

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

Definition at line 23 of file InlineQueryResultPhoto.h.

+ +
+
+

Constructor & Destructor Documentation

+ +

◆ InlineQueryResultPhoto()

+ +
+
+ + + + + +
+ + + + + + + +
TgBot::InlineQueryResultPhoto::InlineQueryResultPhoto ()
+
+inline
+
+ +

Definition at line 25 of file InlineQueryResultPhoto.h.

+ +
+
+

Member Data Documentation

+ +

◆ description

+ +
+
+ + + + +
std::string TgBot::InlineQueryResultPhoto::description
+
+

Optional. Short description of the result.

+ +

Definition at line 54 of file InlineQueryResultPhoto.h.

+ +
+
+ +

◆ photoHeight

+ +
+
+ + + + +
int32_t TgBot::InlineQueryResultPhoto::photoHeight
+
+

Optional. Height of the photo.

+ +

Definition at line 49 of file InlineQueryResultPhoto.h.

+ +
+
+ +

◆ photoUrl

+ +
+
+ + + + +
std::string TgBot::InlineQueryResultPhoto::photoUrl
+
+

A valid URL of the photo.

+ +

Definition at line 34 of file InlineQueryResultPhoto.h.

+ +
+
+ +

◆ photoWidth

+ +
+
+ + + + +
int32_t TgBot::InlineQueryResultPhoto::photoWidth
+
+

Optional. Width of the photo.

+ +

Definition at line 44 of file InlineQueryResultPhoto.h.

+ +
+
+ +

◆ thumbUrl

+ +
+
+ + + + +
std::string TgBot::InlineQueryResultPhoto::thumbUrl
+
+

URL of the thumbnail for the photo

+ +

Definition at line 39 of file InlineQueryResultPhoto.h.

+ +
+
+ +

◆ TYPE

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

Definition at line 21 of file InlineQueryResultPhoto.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/dc/d02/class_tg_bot_1_1_inline_query_result_photo.js b/docs/dc/d02/class_tg_bot_1_1_inline_query_result_photo.js new file mode 100644 index 0000000..17cf23d --- /dev/null +++ b/docs/dc/d02/class_tg_bot_1_1_inline_query_result_photo.js @@ -0,0 +1,10 @@ +var class_tg_bot_1_1_inline_query_result_photo = +[ + [ "Ptr", "dc/d02/class_tg_bot_1_1_inline_query_result_photo.html#a7f4fb7963109c5e3e49b87e331cea12c", null ], + [ "InlineQueryResultPhoto", "dc/d02/class_tg_bot_1_1_inline_query_result_photo.html#a3a81f1e745b332f7152376de4b700e54", null ], + [ "description", "dc/d02/class_tg_bot_1_1_inline_query_result_photo.html#a3bc4bf8bfdadeff170be433b537d445a", null ], + [ "photoHeight", "dc/d02/class_tg_bot_1_1_inline_query_result_photo.html#ae82fef29603bd4667558ea7aeb7d73f7", null ], + [ "photoUrl", "dc/d02/class_tg_bot_1_1_inline_query_result_photo.html#a0ad0da22b0a217208453aea34ed9a2c2", null ], + [ "photoWidth", "dc/d02/class_tg_bot_1_1_inline_query_result_photo.html#a13c4e25b5f0709aa32d25b01ecb44cc8", null ], + [ "thumbUrl", "dc/d02/class_tg_bot_1_1_inline_query_result_photo.html#aca6ea097fce7827241ae1628c44a5893", null ] +]; \ No newline at end of file diff --git a/docs/dc/d02/class_tg_bot_1_1_inline_query_result_photo.png b/docs/dc/d02/class_tg_bot_1_1_inline_query_result_photo.png new file mode 100644 index 0000000..0031b3d Binary files /dev/null and b/docs/dc/d02/class_tg_bot_1_1_inline_query_result_photo.png differ diff --git a/docs/dc/d05/class_tg_bot_1_1_video-members.html b/docs/dc/d05/class_tg_bot_1_1_video-members.html new file mode 100644 index 0000000..92b857e --- /dev/null +++ b/docs/dc/d05/class_tg_bot_1_1_video-members.html @@ -0,0 +1,108 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::Video Member List
+
+
+ +

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

+ + + + + + + + + +
durationTgBot::Video
fileIdTgBot::Video
fileSizeTgBot::Video
heightTgBot::Video
mimeTypeTgBot::Video
Ptr typedefTgBot::Video
thumbTgBot::Video
widthTgBot::Video
+
+ + + + diff --git a/docs/dc/d29/_inline_query_result_video_8h.html b/docs/dc/d29/_inline_query_result_video_8h.html new file mode 100644 index 0000000..0a9bd38 --- /dev/null +++ b/docs/dc/d29/_inline_query_result_video_8h.html @@ -0,0 +1,114 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultVideo.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultVideo.h File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultVideo
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/dc/d29/_inline_query_result_video_8h_source.html b/docs/dc/d29/_inline_query_result_video_8h_source.html new file mode 100644 index 0000000..dd1f105 --- /dev/null +++ b/docs/dc/d29/_inline_query_result_video_8h_source.html @@ -0,0 +1,112 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultVideo.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultVideo.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 27/03/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTVIDEO_H
6 #define TGBOT_INLINEQUERYRESULTVIDEO_H
7 
8 namespace TgBot {
9 
15 public:
16  static const std::string TYPE;
17 
18  typedef std::shared_ptr<InlineQueryResultVideo> Ptr;
19 
21  this->type = TYPE;
22  this->videoWidth = 0;
23  this->videoHeight = 0;
24  this->videoDuration = 0;
25  };
26 
30  std::string videoUrl;
31 
35  std::string mimeType;
36 
40  std::string thumbUrl;
41 
45  int32_t videoWidth;
46 
50  int32_t videoHeight;
51 
55  int32_t videoDuration;
56 
60  std::string description;
61 
62 };
63 }
64 
65 #endif //TGBOT_INLINEQUERYRESULTVIDEO_H
+ + +
Definition: Api.h:44
+ + +
std::shared_ptr< InlineQueryResultVideo > Ptr
+ + + + + + + +
+
+ + + + diff --git a/docs/dc/d30/_voice_8h.html b/docs/dc/d30/_voice_8h.html new file mode 100644 index 0000000..e926c5e --- /dev/null +++ b/docs/dc/d30/_voice_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Voice.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Voice.h File Reference
+
+
+
#include <memory>
+#include <string>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Voice
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/dc/d30/_voice_8h_source.html b/docs/dc/d30/_voice_8h_source.html new file mode 100644 index 0000000..0bd46be --- /dev/null +++ b/docs/dc/d30/_voice_8h_source.html @@ -0,0 +1,105 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Voice.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Voice.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 17/04/16.
3 //
4 
5 #ifndef TGBOT_VOICE_H
6 #define TGBOT_VOICE_H
7 
8 #include <memory>
9 #include <string>
10 
11 namespace TgBot {
12 
17 class Voice {
18 public:
19  typedef std::shared_ptr<Voice> Ptr;
20 
24  std::string file_id;
25 
29  int32_t duration;
30 
34  std::string mime_type;
35 
39  int32_t file_size;
40 };
41 }
42 
43 #endif //TGBOT_VOICE_H
std::string file_id
Definition: Voice.h:24
+
Definition: Api.h:44
+
int32_t duration
Definition: Voice.h:29
+
int32_t file_size
Definition: Voice.h:39
+
std::shared_ptr< Voice > Ptr
Definition: Voice.h:19
+ +
std::string mime_type
Definition: Voice.h:34
+
+
+ + + + diff --git a/docs/dc/d66/class_tg_bot_1_1_document-members.html b/docs/dc/d66/class_tg_bot_1_1_document-members.html new file mode 100644 index 0000000..30a45eb --- /dev/null +++ b/docs/dc/d66/class_tg_bot_1_1_document-members.html @@ -0,0 +1,106 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::Document Member List
+
+
+ +

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

+ + + + + + + +
fileIdTgBot::Document
fileNameTgBot::Document
fileSizeTgBot::Document
mimeTypeTgBot::Document
Ptr typedefTgBot::Document
thumbTgBot::Document
+
+ + + + diff --git a/docs/dc/d67/_http_req_arg_8h.html b/docs/dc/d67/_http_req_arg_8h.html new file mode 100644 index 0000000..a986e58 --- /dev/null +++ b/docs/dc/d67/_http_req_arg_8h.html @@ -0,0 +1,118 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/HttpReqArg.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
HttpReqArg.h File Reference
+
+
+
#include <string>
+#include <vector>
+#include <functional>
+#include <boost/lexical_cast.hpp>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::HttpReqArg
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/dc/d67/_http_req_arg_8h_source.html b/docs/dc/d67/_http_req_arg_8h_source.html new file mode 100644 index 0000000..b69da35 --- /dev/null +++ b/docs/dc/d67/_http_req_arg_8h_source.html @@ -0,0 +1,106 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/HttpReqArg.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
HttpReqArg.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_HTTPPARAMETER_H
24 #define TGBOT_HTTPPARAMETER_H
25 
26 #include <string>
27 #include <vector>
28 #include <functional>
29 
30 #include <boost/lexical_cast.hpp>
31 
32 namespace TgBot {
33 
38 class HttpReqArg {
39 
40 public:
41  template<typename T>
42  HttpReqArg(const std::string& name, const T& value, bool isFile = false, const std::string& mimeType = "text/plain", const std::string& fileName = "") :
43  name(name), value(boost::lexical_cast<std::string>(value)), isFile(isFile), mimeType(mimeType), fileName(fileName)
44  {
45  }
46 
50  std::string name;
51 
55  std::string value;
56 
60  bool isFile = false;
61 
65  std::string mimeType = "text/plain";
66 
70  std::string fileName;
71 };
72 
73 }
74 
75 
76 #endif //TGBOT_HTTPPARAMETER_H
std::string name
Definition: HttpReqArg.h:50
+
Definition: Api.h:44
+
std::string value
Definition: HttpReqArg.h:55
+
std::string fileName
Definition: HttpReqArg.h:70
+ + +
HttpReqArg(const std::string &name, const T &value, bool isFile=false, const std::string &mimeType="text/plain", const std::string &fileName="")
Definition: HttpReqArg.h:42
+
std::string mimeType
Definition: HttpReqArg.h:65
+
+
+ + + + diff --git a/docs/dc/d6f/_inline_query_result_cached_photo_8h.html b/docs/dc/d6f/_inline_query_result_cached_photo_8h.html new file mode 100644 index 0000000..3f584d0 --- /dev/null +++ b/docs/dc/d6f/_inline_query_result_cached_photo_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedPhoto.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultCachedPhoto.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultCachedPhoto
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/dc/d6f/_inline_query_result_cached_photo_8h_source.html b/docs/dc/d6f/_inline_query_result_cached_photo_8h_source.html new file mode 100644 index 0000000..5fa2a71 --- /dev/null +++ b/docs/dc/d6f/_inline_query_result_cached_photo_8h_source.html @@ -0,0 +1,108 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedPhoto.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultCachedPhoto.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTCACHEDPHOTO_H
6 #define TGBOT_INLINEQUERYRESULTCACHEDPHOTO_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<InlineQueryResultCachedPhoto> Ptr;
24 
26  this->type = TYPE;
27  }
28 
32  std::string photoFileId;
33 
37  std::string description;
38 };
39 }
40 
41 #endif //TGBOT_INLINEQUERYRESULTCACHEDPHOTO_H
+
Definition: Api.h:44
+ + + + + + +
std::shared_ptr< InlineQueryResultCachedPhoto > Ptr
+ +
+
+ + + + diff --git a/docs/dc/d75/class_tg_bot_1_1_file-members.html b/docs/dc/d75/class_tg_bot_1_1_file-members.html new file mode 100644 index 0000000..4c6f3c5 --- /dev/null +++ b/docs/dc/d75/class_tg_bot_1_1_file-members.html @@ -0,0 +1,104 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::File Member List
+
+
+ +

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

+ + + + + +
fileIdTgBot::File
filePathTgBot::File
fileSizeTgBot::File
Ptr typedefTgBot::File
+
+ + + + diff --git a/docs/dc/d83/_input_message_content_8h.html b/docs/dc/d83/_input_message_content_8h.html new file mode 100644 index 0000000..f6cf953 --- /dev/null +++ b/docs/dc/d83/_input_message_content_8h.html @@ -0,0 +1,115 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputMessageContent.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InputMessageContent.h File Reference
+
+
+
#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InputMessageContent
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/dc/d83/_input_message_content_8h_source.html b/docs/dc/d83/_input_message_content_8h_source.html new file mode 100644 index 0000000..bf4154d --- /dev/null +++ b/docs/dc/d83/_input_message_content_8h_source.html @@ -0,0 +1,104 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputMessageContent.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InputMessageContent.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_INPUTMESSAGECONTENT_H
6 #define TGBOT_INPUTMESSAGECONTENT_H
7 
8 #include <memory>
9 
10 namespace TgBot {
11 
17 public:
18  typedef std::shared_ptr<InputMessageContent> Ptr;
19 
20  InputMessageContent(const std::string &tType):
21  type(tType)
22  {}
23 
31  std::string type;
32 
33  virtual ~InputMessageContent() { }
34 };
35 }
36 
37 #endif //TGBOT_INPUTMESSAGECONTENT_H
+
std::shared_ptr< InputMessageContent > Ptr
+
Definition: Api.h:44
+
InputMessageContent(const std::string &tType)
+ + +
+
+ + + + diff --git a/docs/dc/d83/_input_venue_message_content_8h.html b/docs/dc/d83/_input_venue_message_content_8h.html new file mode 100644 index 0000000..1b15f72 --- /dev/null +++ b/docs/dc/d83/_input_venue_message_content_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputVenueMessageContent.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InputVenueMessageContent.h File Reference
+
+
+
#include <memory>
+#include <string>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InputVenueMessageContent
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/dc/d83/_input_venue_message_content_8h_source.html b/docs/dc/d83/_input_venue_message_content_8h_source.html new file mode 100644 index 0000000..13c29aa --- /dev/null +++ b/docs/dc/d83/_input_venue_message_content_8h_source.html @@ -0,0 +1,109 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputVenueMessageContent.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InputVenueMessageContent.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 
6 #ifndef TGBOT_INPUTVENUEMESSAGECONTENT_H
7 #define TGBOT_INPUTVENUEMESSAGECONTENT_H
8 
9 #include <memory>
10 #include <string>
11 
12 namespace TgBot {
13 
19 public:
20  typedef std::shared_ptr<InputVenueMessageContent> Ptr;
21 
23  InputMessageContent("InputVenueMessageContent")
24  {}
25 
29  float latitude;
30 
34  float longitude;
35 
39  std::string title;
40 
44  std::string address;
45 
49  std::string foursquareId;
50 
52 };
53 }
54 
55 #endif //TGBOT_INPUTVENUEMESSAGECONTENT_H
+
Definition: Api.h:44
+ + + + + + + + +
std::shared_ptr< InputVenueMessageContent > Ptr
+
+
+ + + + diff --git a/docs/dc/d85/class_tg_bot_1_1_keyboard_button-members.html b/docs/dc/d85/class_tg_bot_1_1_keyboard_button-members.html new file mode 100644 index 0000000..5d2a41d --- /dev/null +++ b/docs/dc/d85/class_tg_bot_1_1_keyboard_button-members.html @@ -0,0 +1,104 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::KeyboardButton Member List
+
+
+ +

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

+ + + + + +
Ptr typedefTgBot::KeyboardButton
requestContactTgBot::KeyboardButton
requestLocationTgBot::KeyboardButton
textTgBot::KeyboardButton
+
+ + + + diff --git a/docs/dc/d93/class_tg_bot_1_1_sticker-members.html b/docs/dc/d93/class_tg_bot_1_1_sticker-members.html new file mode 100644 index 0000000..ec344a8 --- /dev/null +++ b/docs/dc/d93/class_tg_bot_1_1_sticker-members.html @@ -0,0 +1,107 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::Sticker Member List
+
+
+ +

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

+ + + + + + + + +
emojiTgBot::Sticker
fileIdTgBot::Sticker
fileSizeTgBot::Sticker
heightTgBot::Sticker
Ptr typedefTgBot::Sticker
thumbTgBot::Sticker
widthTgBot::Sticker
+
+ + + + diff --git a/docs/dc/dae/class_tg_bot_1_1_inline_query_result_cached_sticker-members.html b/docs/dc/dae/class_tg_bot_1_1_inline_query_result_cached_sticker-members.html new file mode 100644 index 0000000..146e562 --- /dev/null +++ b/docs/dc/dae/class_tg_bot_1_1_inline_query_result_cached_sticker-members.html @@ -0,0 +1,112 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::InlineQueryResultCachedSticker Member List
+
+ +
+ + + + diff --git a/docs/dc/db7/class_tg_bot_1_1_event_broadcaster.html b/docs/dc/db7/class_tg_bot_1_1_event_broadcaster.html new file mode 100644 index 0000000..8d7e206 --- /dev/null +++ b/docs/dc/db7/class_tg_bot_1_1_event_broadcaster.html @@ -0,0 +1,449 @@ + + + + + + + +tgbot-cpp: TgBot::EventBroadcaster Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::EventBroadcaster Class Reference
+
+
+ +

#include <EventBroadcaster.h>

+ + + + + + + + + + +

+Public Types

typedef std::function< void(const Message::Ptr &)> MessageListener
 
typedef std::function< void(const InlineQuery::Ptr &)> InlineQueryListener
 
typedef std::function< void(const ChosenInlineResult::Ptr &)> ChosenInlineResultListener
 
typedef std::function< void(const CallbackQuery::Ptr &)> CallbackQueryListener
 
+ + + + + + + + + + + + + + + +

+Public Member Functions

void onAnyMessage (const MessageListener &listener)
 
void onCommand (const std::string &commandName, const MessageListener &listener)
 
void onUnknownCommand (const MessageListener &listener)
 
void onNonCommandMessage (const MessageListener &listener)
 
void onInlineQuery (const InlineQueryListener &listener)
 
void onChosenInlineResult (const ChosenInlineResultListener &listener)
 
void onCallbackQuery (const CallbackQueryListener &listener)
 
+

Detailed Description

+

This class holds all event listeners.

+ +

Definition at line 44 of file EventBroadcaster.h.

+

Member Typedef Documentation

+ +

◆ CallbackQueryListener

+ +
+
+ + + + +
typedef std::function<void (const CallbackQuery::Ptr&)> TgBot::EventBroadcaster::CallbackQueryListener
+
+ +

Definition at line 52 of file EventBroadcaster.h.

+ +
+
+ +

◆ ChosenInlineResultListener

+ +
+
+ + + + +
typedef std::function<void (const ChosenInlineResult::Ptr&)> TgBot::EventBroadcaster::ChosenInlineResultListener
+
+ +

Definition at line 51 of file EventBroadcaster.h.

+ +
+
+ +

◆ InlineQueryListener

+ +
+
+ + + + +
typedef std::function<void (const InlineQuery::Ptr&)> TgBot::EventBroadcaster::InlineQueryListener
+
+ +

Definition at line 50 of file EventBroadcaster.h.

+ +
+
+ +

◆ MessageListener

+ +
+
+ + + + +
typedef std::function<void (const Message::Ptr&)> TgBot::EventBroadcaster::MessageListener
+
+ +

Definition at line 49 of file EventBroadcaster.h.

+ +
+
+

Member Function Documentation

+ +

◆ onAnyMessage()

+ +
+
+ + + + + +
+ + + + + + + + +
void TgBot::EventBroadcaster::onAnyMessage (const MessageListenerlistener)
+
+inline
+
+

Registers listener which receives all messages which the bot can ever receive.

Parameters
+ + +
listenerListener.
+
+
+ +

Definition at line 58 of file EventBroadcaster.h.

+ +
+
+ +

◆ onCallbackQuery()

+ +
+
+ + + + + +
+ + + + + + + + +
void TgBot::EventBroadcaster::onCallbackQuery (const CallbackQueryListenerlistener)
+
+inline
+
+ +

Definition at line 103 of file EventBroadcaster.h.

+ +
+
+ +

◆ onChosenInlineResult()

+ +
+
+ + + + + +
+ + + + + + + + +
void TgBot::EventBroadcaster::onChosenInlineResult (const ChosenInlineResultListenerlistener)
+
+inline
+
+

Registers listener which receives all the chosen inline result.

Parameters
+ + +
listenerListener.
+
+
+ +

Definition at line 99 of file EventBroadcaster.h.

+ +
+
+ +

◆ onCommand()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void TgBot::EventBroadcaster::onCommand (const std::string & commandName,
const MessageListenerlistener 
)
+
+inline
+
+

Registers listener which receives all messages with commands (messages with leading '/' char).

Parameters
+ + + +
commandNameCommand name which listener can handle.
listenerListener.
+
+
+ +

Definition at line 67 of file EventBroadcaster.h.

+ +
+
+ +

◆ onInlineQuery()

+ +
+
+ + + + + +
+ + + + + + + + +
void TgBot::EventBroadcaster::onInlineQuery (const InlineQueryListenerlistener)
+
+inline
+
+

Registers listener which receives all the inline query.

Parameters
+ + +
listenerListener.
+
+
+ +

Definition at line 91 of file EventBroadcaster.h.

+ +
+
+ +

◆ onNonCommandMessage()

+ +
+
+ + + + + +
+ + + + + + + + +
void TgBot::EventBroadcaster::onNonCommandMessage (const MessageListenerlistener)
+
+inline
+
+

Registers listener which receives all messages without commands (messages with no leading '/' char)

Parameters
+ + +
listenerListener.
+
+
+ +

Definition at line 83 of file EventBroadcaster.h.

+ +
+
+ +

◆ onUnknownCommand()

+ +
+
+ + + + + +
+ + + + + + + + +
void TgBot::EventBroadcaster::onUnknownCommand (const MessageListenerlistener)
+
+inline
+
+

Registers listener which receives all messages with commands (messages with leading '/' char) which haven't been handled by other listeners.

Parameters
+ + +
listenerListener.
+
+
+ +

Definition at line 75 of file EventBroadcaster.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/dc/db7/class_tg_bot_1_1_event_broadcaster.js b/docs/dc/db7/class_tg_bot_1_1_event_broadcaster.js new file mode 100644 index 0000000..7f63ff7 --- /dev/null +++ b/docs/dc/db7/class_tg_bot_1_1_event_broadcaster.js @@ -0,0 +1,14 @@ +var class_tg_bot_1_1_event_broadcaster = +[ + [ "CallbackQueryListener", "dc/db7/class_tg_bot_1_1_event_broadcaster.html#a1b5bf368b89d78d9c1582a1523a66b4e", null ], + [ "ChosenInlineResultListener", "dc/db7/class_tg_bot_1_1_event_broadcaster.html#af9b674f16ddd707748f7ca8bf7f3ef91", null ], + [ "InlineQueryListener", "dc/db7/class_tg_bot_1_1_event_broadcaster.html#a437f0af514141d0a5d4fb684a56fe199", null ], + [ "MessageListener", "dc/db7/class_tg_bot_1_1_event_broadcaster.html#a9fda4ac3089dc101be4fd3a2a104185c", null ], + [ "onAnyMessage", "dc/db7/class_tg_bot_1_1_event_broadcaster.html#a21adc85e9ed2a08a186423a5231342a9", null ], + [ "onCallbackQuery", "dc/db7/class_tg_bot_1_1_event_broadcaster.html#a3ec551ffdcf5be1b9b39ed081ea078d4", null ], + [ "onChosenInlineResult", "dc/db7/class_tg_bot_1_1_event_broadcaster.html#a7397520ff294c863b306142e29030482", null ], + [ "onCommand", "dc/db7/class_tg_bot_1_1_event_broadcaster.html#a13e4a906203fe43a950f1420b68c7583", null ], + [ "onInlineQuery", "dc/db7/class_tg_bot_1_1_event_broadcaster.html#a9d3f31225ea84af8cb47ab2a53186ef0", null ], + [ "onNonCommandMessage", "dc/db7/class_tg_bot_1_1_event_broadcaster.html#a22e70b8493ea455e70734a36968f3d55", null ], + [ "onUnknownCommand", "dc/db7/class_tg_bot_1_1_event_broadcaster.html#a5bed996221f047ec0469ae19e7bd00eb", null ] +]; \ No newline at end of file diff --git a/docs/dc/dc6/class_tg_bot_1_1_input_contact_message_content.html b/docs/dc/dc6/class_tg_bot_1_1_input_contact_message_content.html new file mode 100644 index 0000000..9b800a3 --- /dev/null +++ b/docs/dc/dc6/class_tg_bot_1_1_input_contact_message_content.html @@ -0,0 +1,278 @@ + + + + + + + +tgbot-cpp: TgBot::InputContactMessageContent Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::InputContactMessageContent Class Reference
+
+
+ +

#include <InputContactMessageContent.h>

+
+Inheritance diagram for TgBot::InputContactMessageContent:
+
+
+ + +TgBot::InputMessageContent + +
+ + + + + + + +

+Public Types

typedef std::shared_ptr< InputContactMessageContentPtr
 
- Public Types inherited from TgBot::InputMessageContent
typedef std::shared_ptr< InputMessageContentPtr
 
+ + + + + + + + + + +

+Public Member Functions

 InputContactMessageContent ()
 
virtual ~InputContactMessageContent ()
 
- Public Member Functions inherited from TgBot::InputMessageContent
 InputMessageContent (const std::string &tType)
 
virtual ~InputMessageContent ()
 
+ + + + + + + + + + +

+Public Attributes

std::string phoneNumber
 
std::string firstName
 
std::string lastName
 
- Public Attributes inherited from TgBot::InputMessageContent
std::string type
 
+

Detailed Description

+

Represents the content of a contact message to be sent as the result of an inline query.

+ +

Definition at line 17 of file InputContactMessageContent.h.

+

Member Typedef Documentation

+ +

◆ Ptr

+ +
+
+ +

Definition at line 19 of file InputContactMessageContent.h.

+ +
+
+

Constructor & Destructor Documentation

+ +

◆ InputContactMessageContent()

+ +
+
+ + + + + +
+ + + + + + + +
TgBot::InputContactMessageContent::InputContactMessageContent ()
+
+inline
+
+ +

Definition at line 21 of file InputContactMessageContent.h.

+ +
+
+ +

◆ ~InputContactMessageContent()

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

Definition at line 40 of file InputContactMessageContent.h.

+ +
+
+

Member Data Documentation

+ +

◆ firstName

+ +
+
+ + + + +
std::string TgBot::InputContactMessageContent::firstName
+
+

Contact's first name

+ +

Definition at line 33 of file InputContactMessageContent.h.

+ +
+
+ +

◆ lastName

+ +
+
+ + + + +
std::string TgBot::InputContactMessageContent::lastName
+
+

Optional. Contact's last name

+ +

Definition at line 38 of file InputContactMessageContent.h.

+ +
+
+ +

◆ phoneNumber

+ +
+
+ + + + +
std::string TgBot::InputContactMessageContent::phoneNumber
+
+

Contact's phone number

+ +

Definition at line 28 of file InputContactMessageContent.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/dc/dc6/class_tg_bot_1_1_input_contact_message_content.js b/docs/dc/dc6/class_tg_bot_1_1_input_contact_message_content.js new file mode 100644 index 0000000..f103a6a --- /dev/null +++ b/docs/dc/dc6/class_tg_bot_1_1_input_contact_message_content.js @@ -0,0 +1,9 @@ +var class_tg_bot_1_1_input_contact_message_content = +[ + [ "Ptr", "dc/dc6/class_tg_bot_1_1_input_contact_message_content.html#ad552a44374583a3ea339380338e87e99", null ], + [ "InputContactMessageContent", "dc/dc6/class_tg_bot_1_1_input_contact_message_content.html#a389b68f90eed647eafe4dc23d2754e7d", null ], + [ "~InputContactMessageContent", "dc/dc6/class_tg_bot_1_1_input_contact_message_content.html#ae6b8788ba14b203ba53373262d9a67c0", null ], + [ "firstName", "dc/dc6/class_tg_bot_1_1_input_contact_message_content.html#a673d5217669bf5fce75f51578cdc5c1c", null ], + [ "lastName", "dc/dc6/class_tg_bot_1_1_input_contact_message_content.html#a125669f026157308736f940e1400ed23", null ], + [ "phoneNumber", "dc/dc6/class_tg_bot_1_1_input_contact_message_content.html#a96fe449f5efd3f80c2dde6af364a7aa6", null ] +]; \ No newline at end of file diff --git a/docs/dc/dc6/class_tg_bot_1_1_input_contact_message_content.png b/docs/dc/dc6/class_tg_bot_1_1_input_contact_message_content.png new file mode 100644 index 0000000..d301794 Binary files /dev/null and b/docs/dc/dc6/class_tg_bot_1_1_input_contact_message_content.png differ diff --git a/docs/dc/dc7/_inline_query_result_cached_document_8h.html b/docs/dc/dc7/_inline_query_result_cached_document_8h.html new file mode 100644 index 0000000..9928a14 --- /dev/null +++ b/docs/dc/dc7/_inline_query_result_cached_document_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedDocument.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultCachedDocument.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/InlineQueryResult.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultCachedDocument
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/dc/dc7/_inline_query_result_cached_document_8h_source.html b/docs/dc/dc7/_inline_query_result_cached_document_8h_source.html new file mode 100644 index 0000000..6630eb6 --- /dev/null +++ b/docs/dc/dc7/_inline_query_result_cached_document_8h_source.html @@ -0,0 +1,108 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultCachedDocument.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultCachedDocument.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 27/12/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTCACHEDDOCUMENT_H
6 #define TGBOT_INLINEQUERYRESULTCACHEDDOCUMENT_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<InlineQueryResultCachedDocument> Ptr;
24 
26  this->type = TYPE;
27  }
28 
32  std::string documentFileId;
33 
37  std::string description;
38 };
39 }
40 
41 #endif //TGBOT_INLINEQUERYRESULTCACHEDDOCUMENT_H
+ +
Definition: Api.h:44
+ + + +
std::shared_ptr< InlineQueryResultCachedDocument > Ptr
+ + + +
+
+ + + + -- cgit v1.2.3