From b22c20c4db8c35eaee99075d055f74697c5805b8 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 15 Jan 2017 02:33:59 +0300 Subject: Docs --- docs/d5/d01/_user_profile_photos_8h.html | 117 +++++++ docs/d5/d01/_user_profile_photos_8h_source.html | 104 ++++++ ...lass_tg_bot_1_1_http_server_1_1_connection.html | 268 +++++++++++++++ .../class_tg_bot_1_1_http_server_1_1_connection.js | 8 + docs/d5/d13/namespace_string_tools.html | 362 +++++++++++++++++++++ ..._bot_1_1_inline_query_result_photo-members.html | 116 +++++++ docs/d5/d61/_document_8h.html | 117 +++++++ docs/d5/d61/_document_8h_source.html | 108 ++++++ docs/d5/d61/_inline_query_result_mpeg4_gif_8h.html | 114 +++++++ .../_inline_query_result_mpeg4_gif_8h_source.html | 109 +++++++ docs/d5/d66/_venue_8h.html | 117 +++++++ docs/d5/d66/_venue_8h_source.html | 107 ++++++ docs/d5/d76/_update_8h.html | 119 +++++++ docs/d5/d76/_update_8h_source.html | 117 +++++++ docs/d5/d77/_response_parameters_8h.html | 115 +++++++ docs/d5/d77/_response_parameters_8h_source.html | 103 ++++++ docs/d5/d82/class_tg_bot_1_1_http_client.html | 178 ++++++++++ docs/d5/d82/class_tg_bot_1_1_http_client.js | 4 + .../class_tg_bot_1_1_inline_keyboard_markup.html | 175 ++++++++++ .../d8a/class_tg_bot_1_1_inline_keyboard_markup.js | 5 + .../class_tg_bot_1_1_inline_keyboard_markup.png | Bin 0 -> 748 bytes .../d5/d98/class_tg_bot_1_1_tg_webhook_server.html | 282 ++++++++++++++++ docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.js | 6 + docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.png | Bin 0 -> 851 bytes ...g_bot_1_1_inline_query_result_game-members.html | 112 +++++++ docs/d5/db4/_sticker_8h.html | 117 +++++++ docs/d5/db4/_sticker_8h_source.html | 109 +++++++ docs/d5/df0/_input_contact_message_content_8h.html | 116 +++++++ .../_input_contact_message_content_8h_source.html | 107 ++++++ docs/d5/dfd/_force_reply_8h.html | 116 +++++++ docs/d5/dfd/_force_reply_8h_source.html | 105 ++++++ 31 files changed, 3533 insertions(+) create mode 100644 docs/d5/d01/_user_profile_photos_8h.html create mode 100644 docs/d5/d01/_user_profile_photos_8h_source.html create mode 100644 docs/d5/d11/class_tg_bot_1_1_http_server_1_1_connection.html create mode 100644 docs/d5/d11/class_tg_bot_1_1_http_server_1_1_connection.js create mode 100644 docs/d5/d13/namespace_string_tools.html create mode 100644 docs/d5/d2f/class_tg_bot_1_1_inline_query_result_photo-members.html create mode 100644 docs/d5/d61/_document_8h.html create mode 100644 docs/d5/d61/_document_8h_source.html create mode 100644 docs/d5/d61/_inline_query_result_mpeg4_gif_8h.html create mode 100644 docs/d5/d61/_inline_query_result_mpeg4_gif_8h_source.html create mode 100644 docs/d5/d66/_venue_8h.html create mode 100644 docs/d5/d66/_venue_8h_source.html create mode 100644 docs/d5/d76/_update_8h.html create mode 100644 docs/d5/d76/_update_8h_source.html create mode 100644 docs/d5/d77/_response_parameters_8h.html create mode 100644 docs/d5/d77/_response_parameters_8h_source.html create mode 100644 docs/d5/d82/class_tg_bot_1_1_http_client.html create mode 100644 docs/d5/d82/class_tg_bot_1_1_http_client.js create mode 100644 docs/d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.html create mode 100644 docs/d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.js create mode 100644 docs/d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.png create mode 100644 docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.html create mode 100644 docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.js create mode 100644 docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.png create mode 100644 docs/d5/dac/class_tg_bot_1_1_inline_query_result_game-members.html create mode 100644 docs/d5/db4/_sticker_8h.html create mode 100644 docs/d5/db4/_sticker_8h_source.html create mode 100644 docs/d5/df0/_input_contact_message_content_8h.html create mode 100644 docs/d5/df0/_input_contact_message_content_8h_source.html create mode 100644 docs/d5/dfd/_force_reply_8h.html create mode 100644 docs/d5/dfd/_force_reply_8h_source.html (limited to 'docs/d5') diff --git a/docs/d5/d01/_user_profile_photos_8h.html b/docs/d5/d01/_user_profile_photos_8h.html new file mode 100644 index 0000000..81686c3 --- /dev/null +++ b/docs/d5/d01/_user_profile_photos_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/UserProfilePhotos.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
UserProfilePhotos.h File Reference
+
+
+
#include <vector>
+#include <memory>
+#include "tgbot/types/PhotoSize.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::UserProfilePhotos
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d5/d01/_user_profile_photos_8h_source.html b/docs/d5/d01/_user_profile_photos_8h_source.html new file mode 100644 index 0000000..1ce7f63 --- /dev/null +++ b/docs/d5/d01/_user_profile_photos_8h_source.html @@ -0,0 +1,104 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/UserProfilePhotos.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
UserProfilePhotos.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_USERPROFILEPHOTOS_H
24 #define TGBOT_CPP_USERPROFILEPHOTOS_H
25 
26 #include <vector>
27 #include <memory>
28 
29 #include "tgbot/types/PhotoSize.h"
30 
31 namespace TgBot {
32 
38 
39 public:
40  typedef std::shared_ptr<UserProfilePhotos> Ptr;
41 
45  int32_t totalCount;
46 
50  std::vector<std::vector<PhotoSize::Ptr>> photos;
51 };
52 
53 }
54 
55 #endif //TGBOT_CPP_USERPROFILEPHOTOS_H
+
Definition: Api.h:44
+
std::shared_ptr< UserProfilePhotos > Ptr
+ + +
std::vector< std::vector< PhotoSize::Ptr > > photos
+
+
+ + + + diff --git a/docs/d5/d11/class_tg_bot_1_1_http_server_1_1_connection.html b/docs/d5/d11/class_tg_bot_1_1_http_server_1_1_connection.html new file mode 100644 index 0000000..e04410b --- /dev/null +++ b/docs/d5/d11/class_tg_bot_1_1_http_server_1_1_connection.html @@ -0,0 +1,268 @@ + + + + + + + +tgbot-cpp: TgBot::HttpServer< Protocol >::Connection Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::HttpServer< Protocol >::Connection Class Reference
+
+
+ +

#include <HttpServer.h>

+ + + + + + +

+Public Member Functions

 Connection (std::shared_ptr< boost::asio::basic_stream_socket< Protocol >> &socket, const ServerHandler &handler)
 
void start ()
 
+ + + + + +

+Public Attributes

std::shared_ptr< boost::asio::basic_stream_socket< Protocol > > socket
 
std::string data
 
+ + + +

+Protected Attributes

const ServerHandler _handler
 
+

Detailed Description

+

template<typename Protocol>
+class TgBot::HttpServer< Protocol >::Connection

+ + +

Definition at line 71 of file HttpServer.h.

+

Constructor & Destructor Documentation

+ +

◆ Connection()

+ +
+
+
+template<typename Protocol>
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
TgBot::HttpServer< Protocol >::Connection::Connection (std::shared_ptr< boost::asio::basic_stream_socket< Protocol >> & socket,
const ServerHandlerhandler 
)
+
+inline
+
+ +

Definition at line 74 of file HttpServer.h.

+ +
+
+

Member Function Documentation

+ +

◆ start()

+ +
+
+
+template<typename Protocol>
+ + + + + +
+ + + + + + + +
void TgBot::HttpServer< Protocol >::Connection::start ()
+
+inline
+
+ +

Definition at line 79 of file HttpServer.h.

+ +
+
+

Member Data Documentation

+ +

◆ _handler

+ +
+
+
+template<typename Protocol>
+ + + + + +
+ + + + +
const ServerHandler TgBot::HttpServer< Protocol >::Connection::_handler
+
+protected
+
+ +

Definition at line 92 of file HttpServer.h.

+ +
+
+ +

◆ data

+ +
+
+
+template<typename Protocol>
+ + + + +
std::string TgBot::HttpServer< Protocol >::Connection::data
+
+ +

Definition at line 89 of file HttpServer.h.

+ +
+
+ +

◆ socket

+ +
+
+
+template<typename Protocol>
+ + + + +
std::shared_ptr<boost::asio::basic_stream_socket<Protocol> > TgBot::HttpServer< Protocol >::Connection::socket
+
+ +

Definition at line 88 of file HttpServer.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d5/d11/class_tg_bot_1_1_http_server_1_1_connection.js b/docs/d5/d11/class_tg_bot_1_1_http_server_1_1_connection.js new file mode 100644 index 0000000..0a3291c --- /dev/null +++ b/docs/d5/d11/class_tg_bot_1_1_http_server_1_1_connection.js @@ -0,0 +1,8 @@ +var class_tg_bot_1_1_http_server_1_1_connection = +[ + [ "Connection", "d5/d11/class_tg_bot_1_1_http_server_1_1_connection.html#a91a16ce20e8d889657a7d2c982d8b1c8", null ], + [ "start", "d5/d11/class_tg_bot_1_1_http_server_1_1_connection.html#a8cecda345ca78c8dc43c39423511af4d", null ], + [ "_handler", "d5/d11/class_tg_bot_1_1_http_server_1_1_connection.html#ab630576fda90c3a33e563e44cd5a08dd", null ], + [ "data", "d5/d11/class_tg_bot_1_1_http_server_1_1_connection.html#a23e0644c0e4d02eb96b9dd61404a8788", null ], + [ "socket", "d5/d11/class_tg_bot_1_1_http_server_1_1_connection.html#a2104f20074b0a9fb17192ebbb1846b20", null ] +]; \ No newline at end of file diff --git a/docs/d5/d13/namespace_string_tools.html b/docs/d5/d13/namespace_string_tools.html new file mode 100644 index 0000000..58a871a --- /dev/null +++ b/docs/d5/d13/namespace_string_tools.html @@ -0,0 +1,362 @@ + + + + + + + +tgbot-cpp: StringTools Namespace Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
StringTools Namespace Reference
+
+
+ + + + + + + + + + + + + + + + +

+Functions

bool startsWith (const std::string &str1, const std::string &str2)
 
bool endsWith (const std::string &str1, const std::string &str2)
 
void split (const std::string &str, char delimiter, std::vector< std::string > &dest)
 
std::string generateRandomString (size_t length)
 
std::string urlEncode (const std::string &value, const std::string &additionalLegitChars="")
 
std::string urlDecode (const std::string &value)
 
std::vector< std::string > split (const std::string &str, char delimiter)
 
+

Function Documentation

+ +

◆ endsWith()

+ +
+
+ + + + + + + + + + + + + + + + + + +
bool StringTools::endsWith (const std::string & str1,
const std::string & str2 
)
+
+

Checks if first string is ending with second string

Parameters
+ + + +
str1First string
str2Second string
+
+
+ +
+
+ +

◆ generateRandomString()

+ +
+
+ + + + + + + + +
std::string StringTools::generateRandomString (size_t length)
+
+

Generates pseudo random string. It's recommended to call srand before this method.

Parameters
+ + +
lengthLength of resulting string.
+
+
+ +
+
+ +

◆ split() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void StringTools::split (const std::string & str,
char delimiter,
std::vector< std::string > & dest 
)
+
+

Splits string to smaller substrings which have between them a delimiter. Resulting substrings won't have delimiter.

Parameters
+ + + + +
strSource string
delimiterDelimiter
destArray to which substrings will be saved.
+
+
+ +
+
+ +

◆ split() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
std::vector<std::string> StringTools::split (const std::string & str,
char delimiter 
)
+
+inline
+
+

Splits string to smaller substrings which have between them a delimiter. Resulting substrings won't have delimiter.

Parameters
+ + + +
strSource string
delimiterDelimiter
+
+
+
Returns
Array of substrings
+ +

Definition at line 84 of file StringTools.h.

+ +
+
+ +

◆ startsWith()

+ +
+
+ + + + + + + + + + + + + + + + + + +
bool StringTools::startsWith (const std::string & str1,
const std::string & str2 
)
+
+

Checks if first string is starting with second string

Parameters
+ + + +
str1First string
str2Second string
+
+
+ +
+
+ +

◆ urlDecode()

+ +
+
+ + + + + + + + +
std::string StringTools::urlDecode (const std::string & value)
+
+

Performs url decode.

Parameters
+ + +
valueEncoded url string
+
+
+
Returns
Decoded url string
+ +
+
+ +

◆ urlEncode()

+ +
+
+ + + + + + + + + + + + + + + + + + +
std::string StringTools::urlEncode (const std::string & value,
const std::string & additionalLegitChars = "" 
)
+
+

Performs url encode.

Parameters
+ + + +
valueSource url string
additionalLegitCharsOptional. String of chars which will be not encoded in source url string.
+
+
+
Returns
Encoded url string
+ +
+
+
+
+ + + + diff --git a/docs/d5/d2f/class_tg_bot_1_1_inline_query_result_photo-members.html b/docs/d5/d2f/class_tg_bot_1_1_inline_query_result_photo-members.html new file mode 100644 index 0000000..b842fe9 --- /dev/null +++ b/docs/d5/d2f/class_tg_bot_1_1_inline_query_result_photo-members.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::InlineQueryResultPhoto Member List
+
+ +
+ + + + diff --git a/docs/d5/d61/_document_8h.html b/docs/d5/d61/_document_8h.html new file mode 100644 index 0000000..e4b1b74 --- /dev/null +++ b/docs/d5/d61/_document_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Document.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Document.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/PhotoSize.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Document
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d5/d61/_document_8h_source.html b/docs/d5/d61/_document_8h_source.html new file mode 100644 index 0000000..16952ac --- /dev/null +++ b/docs/d5/d61/_document_8h_source.html @@ -0,0 +1,108 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Document.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Document.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_DOCUMENT_H
24 #define TGBOT_CPP_DOCUMENT_H
25 
26 #include <string>
27 #include <memory>
28 
29 #include "tgbot/types/PhotoSize.h"
30 
31 namespace TgBot {
32 
37 class Document {
38 
39 public:
40  typedef std::shared_ptr<Document> Ptr;
41 
45  std::string fileId;
46 
51 
55  std::string fileName;
56 
60  std::string mimeType;
61 
65  int32_t fileSize;
66 };
67 
68 }
69 
70 #endif //TGBOT_CPP_DOCUMENT_H
std::string mimeType
Definition: Document.h:60
+ +
int32_t fileSize
Definition: Document.h:65
+
PhotoSize::Ptr thumb
Definition: Document.h:50
+ +
Definition: Api.h:44
+
std::string fileId
Definition: Document.h:45
+
std::string fileName
Definition: Document.h:55
+
std::shared_ptr< Document > Ptr
Definition: Document.h:40
+
std::shared_ptr< PhotoSize > Ptr
Definition: PhotoSize.h:38
+
+
+ + + + diff --git a/docs/d5/d61/_inline_query_result_mpeg4_gif_8h.html b/docs/d5/d61/_inline_query_result_mpeg4_gif_8h.html new file mode 100644 index 0000000..72381af --- /dev/null +++ b/docs/d5/d61/_inline_query_result_mpeg4_gif_8h.html @@ -0,0 +1,114 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultMpeg4Gif.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InlineQueryResultMpeg4Gif.h File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InlineQueryResultMpeg4Gif
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d5/d61/_inline_query_result_mpeg4_gif_8h_source.html b/docs/d5/d61/_inline_query_result_mpeg4_gif_8h_source.html new file mode 100644 index 0000000..c0f0f10 --- /dev/null +++ b/docs/d5/d61/_inline_query_result_mpeg4_gif_8h_source.html @@ -0,0 +1,109 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InlineQueryResultMpeg4Gif.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InlineQueryResultMpeg4Gif.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 27/03/16.
3 //
4 
5 #ifndef TGBOT_INLINEQUERYRESULTMPEG4GIF_H
6 #define TGBOT_INLINEQUERYRESULTMPEG4GIF_H
7 
8 namespace TgBot {
9 
15 public:
16  static const std::string TYPE;
17 
18  typedef std::shared_ptr<InlineQueryResultMpeg4Gif> Ptr;
19 
21  this->type = TYPE;
22  this->mpeg4Width = 0;
23  this->mpeg4Height = 0;
24  }
25 
29  std::string mpeg4Url;
30 
34  int32_t mpeg4Width;
35 
39  int32_t mpeg4Height;
40 
44  std::string thumbUrl;
45 
46 };
47 }
48 
49 #endif //TGBOT_INLINEQUERYRESULTMPEG4GIF_H
+ + + + + +
Definition: Api.h:44
+
std::shared_ptr< InlineQueryResultMpeg4Gif > Ptr
+ + + +
+
+ + + + diff --git a/docs/d5/d66/_venue_8h.html b/docs/d5/d66/_venue_8h.html new file mode 100644 index 0000000..74ab46e --- /dev/null +++ b/docs/d5/d66/_venue_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Venue.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Venue.h File Reference
+
+
+
#include <memory>
+#include <string>
+#include "tgbot/types/Location.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Venue
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d5/d66/_venue_8h_source.html b/docs/d5/d66/_venue_8h_source.html new file mode 100644 index 0000000..882bf64 --- /dev/null +++ b/docs/d5/d66/_venue_8h_source.html @@ -0,0 +1,107 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Venue.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Venue.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 17/04/16.
3 //
4 
5 #ifndef TGBOT_VENUE_H
6 #define TGBOT_VENUE_H
7 
8 #include <memory>
9 #include <string>
10 
11 #include "tgbot/types/Location.h"
12 
13 namespace TgBot {
14 
19 class Venue {
20 public:
21  typedef std::shared_ptr<Venue> Ptr;
22 
27 
31  std::string title;
32 
36  std::string address;
37 
41  std::string foursquare_id;
42 };
43 }
44 
45 #endif //TGBOT_VENUE_H
Definition: Api.h:44
+
Location::Ptr location
Definition: Venue.h:26
+
std::shared_ptr< Location > Ptr
Definition: Location.h:37
+ +
std::string foursquare_id
Definition: Venue.h:41
+ +
std::shared_ptr< Venue > Ptr
Definition: Venue.h:21
+
std::string title
Definition: Venue.h:31
+
std::string address
Definition: Venue.h:36
+
+
+ + + + diff --git a/docs/d5/d76/_update_8h.html b/docs/d5/d76/_update_8h.html new file mode 100644 index 0000000..8f5da04 --- /dev/null +++ b/docs/d5/d76/_update_8h.html @@ -0,0 +1,119 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Update.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Update.h File Reference
+
+
+
#include <memory>
+#include "tgbot/types/Message.h"
+#include "tgbot/types/InlineQuery.h"
+#include "tgbot/types/ChosenInlineResult.h"
+#include "tgbot/types/CallbackQuery.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Update
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d5/d76/_update_8h_source.html b/docs/d5/d76/_update_8h_source.html new file mode 100644 index 0000000..ebf1cf4 --- /dev/null +++ b/docs/d5/d76/_update_8h_source.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Update.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Update.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_UPDATE_H
24 #define TGBOT_CPP_UPDATE_H
25 
26 #include <memory>
27 
28 #include "tgbot/types/Message.h"
32 
33 namespace TgBot {
34 
39 class Update {
40 
41 public:
42  typedef std::shared_ptr<Update> Ptr;
43 
47  int32_t updateId;
48 
53 
58 
63 
68 
73 
78 
83 };
84 
85 }
86 
87 #endif //TGBOT_CPP_UPDATE_H
Message::Ptr channelPost
Definition: Update.h:62
+
int32_t updateId
Definition: Update.h:47
+ +
std::shared_ptr< CallbackQuery > Ptr
Definition: CallbackQuery.h:22
+
Message::Ptr editedMessage
Definition: Update.h:57
+
Message::Ptr editedChannelPost
Definition: Update.h:67
+
std::shared_ptr< Update > Ptr
Definition: Update.h:42
+
Definition: Api.h:44
+ +
InlineQuery::Ptr inlineQuery
Definition: Update.h:72
+ +
std::shared_ptr< Message > Ptr
Definition: Message.h:52
+
std::shared_ptr< ChosenInlineResult > Ptr
+
ChosenInlineResult::Ptr chosenInlineResult
Definition: Update.h:77
+
CallbackQuery::Ptr callbackQuery
Definition: Update.h:82
+ +
std::shared_ptr< InlineQuery > Ptr
Definition: InlineQuery.h:22
+
Message::Ptr message
Definition: Update.h:52
+ +
+
+ + + + diff --git a/docs/d5/d77/_response_parameters_8h.html b/docs/d5/d77/_response_parameters_8h.html new file mode 100644 index 0000000..d38ddae --- /dev/null +++ b/docs/d5/d77/_response_parameters_8h.html @@ -0,0 +1,115 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ResponseParameters.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ResponseParameters.h File Reference
+
+
+
#include <memory>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::ResponseParameters
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d5/d77/_response_parameters_8h_source.html b/docs/d5/d77/_response_parameters_8h_source.html new file mode 100644 index 0000000..3c8061d --- /dev/null +++ b/docs/d5/d77/_response_parameters_8h_source.html @@ -0,0 +1,103 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ResponseParameters.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ResponseParameters.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_RESPONSEPARAMETERS_H
6 #define TGBOT_RESPONSEPARAMETERS_H
7 
8 #include <memory>
9 
10 namespace TgBot {
11 
17 public:
18  typedef std::shared_ptr<ResponseParameters> Ptr;
19 
26  int32_t migrateToChatId;
27 
31  int32_t retryAfter;
32 };
33 }
34 
35 #endif //TGBOT_RESPONSEPARAMETERS_H
Definition: Api.h:44
+
std::shared_ptr< ResponseParameters > Ptr
+ + + +
+
+ + + + diff --git a/docs/d5/d82/class_tg_bot_1_1_http_client.html b/docs/d5/d82/class_tg_bot_1_1_http_client.html new file mode 100644 index 0000000..d51d9b9 --- /dev/null +++ b/docs/d5/d82/class_tg_bot_1_1_http_client.html @@ -0,0 +1,178 @@ + + + + + + + +tgbot-cpp: TgBot::HttpClient Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::HttpClient Class Reference
+
+
+ +

#include <HttpClient.h>

+ + + + +

+Public Member Functions

std::string makeRequest (const Url &url, const std::vector< HttpReqArg > &args)
 
+ + + +

+Static Public Member Functions

static HttpClientgetInstance ()
 
+

Detailed Description

+

This class makes http requests.

+ +

Definition at line 40 of file HttpClient.h.

+

Member Function Documentation

+ +

◆ getInstance()

+ +
+
+ + + + + +
+ + + + + + + +
static HttpClient& TgBot::HttpClient::getInstance ()
+
+static
+
+

Returns instance which lives during all application lifetime.

+ +
+
+ +

◆ makeRequest()

+ +
+
+ + + + + + + + + + + + + + + + + + +
std::string TgBot::HttpClient::makeRequest (const Urlurl,
const std::vector< HttpReqArg > & args 
)
+
+

Sends a request to the url. If there's no args specified, a GET request will be sent, otherwise a POST request will be sent. If at least 1 arg is marked as file, the content type of a request will be multipart/form-data, otherwise it will be application/x-www-form-urlencoded.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d5/d82/class_tg_bot_1_1_http_client.js b/docs/d5/d82/class_tg_bot_1_1_http_client.js new file mode 100644 index 0000000..e209cff --- /dev/null +++ b/docs/d5/d82/class_tg_bot_1_1_http_client.js @@ -0,0 +1,4 @@ +var class_tg_bot_1_1_http_client = +[ + [ "makeRequest", "d5/d82/class_tg_bot_1_1_http_client.html#a1de1ba0e962c7446e9820337bbf6d3e5", null ] +]; \ No newline at end of file diff --git a/docs/d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.html b/docs/d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.html new file mode 100644 index 0000000..e5bbae5 --- /dev/null +++ b/docs/d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.html @@ -0,0 +1,175 @@ + + + + + + + +tgbot-cpp: TgBot::InlineKeyboardMarkup Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::InlineKeyboardMarkup Class Reference
+
+
+ +

#include <InlineKeyboardMarkup.h>

+
+Inheritance diagram for TgBot::InlineKeyboardMarkup:
+
+
+ + +TgBot::GenericReply + +
+ + + + + + + +

+Public Types

typedef std::shared_ptr< InlineKeyboardMarkupPtr
 
- Public Types inherited from TgBot::GenericReply
typedef std::shared_ptr< GenericReplyPtr
 
+ + + +

+Public Attributes

std::vector< std::vector< InlineKeyboardButton::Ptr > > inlineKeyboard
 
+ + + + +

+Additional Inherited Members

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

Detailed Description

+

This object represents an inline keyboard that appears right next to the message it belongs to.

+ +

Definition at line 20 of file InlineKeyboardMarkup.h.

+

Member Typedef Documentation

+ +

◆ Ptr

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

Definition at line 22 of file InlineKeyboardMarkup.h.

+ +
+
+

Member Data Documentation

+ +

◆ inlineKeyboard

+ +
+
+ + + + +
std::vector<std::vector<InlineKeyboardButton::Ptr> > TgBot::InlineKeyboardMarkup::inlineKeyboard
+
+

Array of button rows, each represented by an Array of InlineKeyboardButton objects.

+ +

Definition at line 27 of file InlineKeyboardMarkup.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.js b/docs/d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.js new file mode 100644 index 0000000..469fca5 --- /dev/null +++ b/docs/d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.js @@ -0,0 +1,5 @@ +var class_tg_bot_1_1_inline_keyboard_markup = +[ + [ "Ptr", "d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.html#a596873291582fb23cfbe6b62e20df8e7", null ], + [ "inlineKeyboard", "d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.html#a7ff086034bc62f1a791f2e872e652b4b", null ] +]; \ No newline at end of file diff --git a/docs/d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.png b/docs/d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.png new file mode 100644 index 0000000..f19384c Binary files /dev/null and b/docs/d5/d8a/class_tg_bot_1_1_inline_keyboard_markup.png differ diff --git a/docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.html b/docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.html new file mode 100644 index 0000000..337f132 --- /dev/null +++ b/docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.html @@ -0,0 +1,282 @@ + + + + + + + +tgbot-cpp: TgBot::TgWebhookServer< Protocol > Class Template Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::TgWebhookServer< Protocol > Class Template Reference
+
+
+ +

#include <TgWebhookServer.h>

+
+Inheritance diagram for TgBot::TgWebhookServer< Protocol >:
+
+
+ + +TgBot::HttpServer< Protocol > + +
+ + + + + + + + + + + + + + + +

+Public Member Functions

 TgWebhookServer (std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol >> acceptor, const typename HttpServer< Protocol >::ServerHandler &handler)=delete
 
 TgWebhookServer (std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol >> acceptor, const std::string &path, const EventHandler *eventHandler)
 
 TgWebhookServer (std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol >> acceptor, const std::string &path, const Bot &bot)
 
- Public Member Functions inherited from TgBot::HttpServer< Protocol >
 HttpServer (std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol >> acceptor, const ServerHandler &handler)
 
void start ()
 
void stop ()
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from TgBot::HttpServer< Protocol >
typedef std::function< std::string(const std::string &, const std::map< std::string, std::string >)> ServerHandler
 
- Protected Attributes inherited from TgBot::HttpServer< Protocol >
boost::asio::io_service _ioService
 
std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol > > _acceptor
 
const ServerHandler _handler
 
+

Detailed Description

+

template<typename Protocol>
+class TgBot::TgWebhookServer< Protocol >

+ + +

Definition at line 34 of file TgWebhookServer.h.

+

Constructor & Destructor Documentation

+ +

◆ TgWebhookServer() [1/3]

+ +
+
+
+template<typename Protocol>
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
TgBot::TgWebhookServer< Protocol >::TgWebhookServer (std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol >> acceptor,
const typename HttpServer< Protocol >::ServerHandlerhandler 
)
+
+delete
+
+ +
+
+ +

◆ TgWebhookServer() [2/3]

+ +
+
+
+template<typename Protocol>
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
TgBot::TgWebhookServer< Protocol >::TgWebhookServer (std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol >> acceptor,
const std::string & path,
const EventHandlereventHandler 
)
+
+inline
+
+ +

Definition at line 39 of file TgWebhookServer.h.

+ +
+
+ +

◆ TgWebhookServer() [3/3]

+ +
+
+
+template<typename Protocol>
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
TgBot::TgWebhookServer< Protocol >::TgWebhookServer (std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol >> acceptor,
const std::string & path,
const Botbot 
)
+
+inline
+
+ +

Definition at line 49 of file TgWebhookServer.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.js b/docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.js new file mode 100644 index 0000000..6982195 --- /dev/null +++ b/docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.js @@ -0,0 +1,6 @@ +var class_tg_bot_1_1_tg_webhook_server = +[ + [ "TgWebhookServer", "d5/d98/class_tg_bot_1_1_tg_webhook_server.html#a06ad980aa07d80a12bcad0cf908b67d0", null ], + [ "TgWebhookServer", "d5/d98/class_tg_bot_1_1_tg_webhook_server.html#abc86408e0e5254a07e8a05666c7980f9", null ], + [ "TgWebhookServer", "d5/d98/class_tg_bot_1_1_tg_webhook_server.html#a283030203b2ddd9225792d24d9f4abb1", null ] +]; \ No newline at end of file diff --git a/docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.png b/docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.png new file mode 100644 index 0000000..26b2699 Binary files /dev/null and b/docs/d5/d98/class_tg_bot_1_1_tg_webhook_server.png differ diff --git a/docs/d5/dac/class_tg_bot_1_1_inline_query_result_game-members.html b/docs/d5/dac/class_tg_bot_1_1_inline_query_result_game-members.html new file mode 100644 index 0000000..297a409 --- /dev/null +++ b/docs/d5/dac/class_tg_bot_1_1_inline_query_result_game-members.html @@ -0,0 +1,112 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::InlineQueryResultGame Member List
+
+ +
+ + + + diff --git a/docs/d5/db4/_sticker_8h.html b/docs/d5/db4/_sticker_8h.html new file mode 100644 index 0000000..950291c --- /dev/null +++ b/docs/d5/db4/_sticker_8h.html @@ -0,0 +1,117 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Sticker.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Sticker.h File Reference
+
+
+
#include <string>
+#include <memory>
+#include "tgbot/types/PhotoSize.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::Sticker
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d5/db4/_sticker_8h_source.html b/docs/d5/db4/_sticker_8h_source.html new file mode 100644 index 0000000..85169ae --- /dev/null +++ b/docs/d5/db4/_sticker_8h_source.html @@ -0,0 +1,109 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/Sticker.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Sticker.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_STICKER_H
24 #define TGBOT_CPP_STICKER_H
25 
26 #include <string>
27 #include <memory>
28 
29 #include "tgbot/types/PhotoSize.h"
30 
31 namespace TgBot {
32 
37 class Sticker {
38 
39 public:
40  typedef std::shared_ptr<Sticker> Ptr;
41 
45  std::string fileId;
46 
50  int32_t width;
51 
55  int32_t height;
56 
61 
65  std::string emoji;
66 
70  int32_t fileSize;
71 };
72 
73 }
74 
75 #endif //TGBOT_CPP_STICKER_H
std::string emoji
Definition: Sticker.h:65
+ +
std::shared_ptr< Sticker > Ptr
Definition: Sticker.h:40
+
PhotoSize::Ptr thumb
Definition: Sticker.h:60
+
Definition: Api.h:44
+ +
int32_t height
Definition: Sticker.h:55
+
std::shared_ptr< PhotoSize > Ptr
Definition: PhotoSize.h:38
+
std::string fileId
Definition: Sticker.h:45
+
int32_t width
Definition: Sticker.h:50
+
int32_t fileSize
Definition: Sticker.h:70
+
+
+ + + + diff --git a/docs/d5/df0/_input_contact_message_content_8h.html b/docs/d5/df0/_input_contact_message_content_8h.html new file mode 100644 index 0000000..b559b52 --- /dev/null +++ b/docs/d5/df0/_input_contact_message_content_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputContactMessageContent.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
InputContactMessageContent.h File Reference
+
+
+
#include <memory>
+#include <string>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::InputContactMessageContent
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d5/df0/_input_contact_message_content_8h_source.html b/docs/d5/df0/_input_contact_message_content_8h_source.html new file mode 100644 index 0000000..0382368 --- /dev/null +++ b/docs/d5/df0/_input_contact_message_content_8h_source.html @@ -0,0 +1,107 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/InputContactMessageContent.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
InputContactMessageContent.h
+
+
+Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_INPUTCONTACTMESSAGECONTENT_H
6 #define TGBOT_INPUTCONTACTMESSAGECONTENT_H
7 
8 #include <memory>
9 #include <string>
10 
11 namespace TgBot {
12 
18 public:
19  typedef std::shared_ptr<InputContactMessageContent> Ptr;
20 
22  InputMessageContent("InputContactMessageContent")
23  {}
24 
28  std::string phoneNumber;
29 
33  std::string firstName;
34 
38  std::string lastName;
39 
41 };
42 }
43 
44 #endif //TGBOT_INPUTCONTACTMESSAGECONTENT_H
Definition: Api.h:44
+ + + +
std::shared_ptr< InputContactMessageContent > Ptr
+ + + + +
+
+ + + + diff --git a/docs/d5/dfd/_force_reply_8h.html b/docs/d5/dfd/_force_reply_8h.html new file mode 100644 index 0000000..83e2d81 --- /dev/null +++ b/docs/d5/dfd/_force_reply_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ForceReply.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ForceReply.h File Reference
+
+
+
#include <memory>
+#include "tgbot/types/GenericReply.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::ForceReply
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d5/dfd/_force_reply_8h_source.html b/docs/d5/dfd/_force_reply_8h_source.html new file mode 100644 index 0000000..3ba67dc --- /dev/null +++ b/docs/d5/dfd/_force_reply_8h_source.html @@ -0,0 +1,105 @@ + + + + + + + +tgbot-cpp: include/tgbot/types/ForceReply.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ForceReply.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_FORCEREPLY_H
24 #define TGBOT_CPP_FORCEREPLY_H
25 
26 #include <memory>
27 
29 
30 namespace TgBot {
31 
40 class ForceReply : public GenericReply {
41 
42 public:
43  typedef std::shared_ptr<ForceReply> Ptr;
44 
48  const bool forceReply = true;
49 
53  bool selective = false;
54 };
55 
56 }
57 
58 #endif //TGBOT_CPP_FORCEREPLY_H
Definition: Api.h:44
+ + + +
const bool forceReply
Definition: ForceReply.h:48
+ +
std::shared_ptr< ForceReply > Ptr
Definition: ForceReply.h:43
+
+
+ + + + -- cgit v1.2.3