From b22c20c4db8c35eaee99075d055f74697c5805b8 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 15 Jan 2017 02:33:59 +0300 Subject: Docs --- ...t_1_1_inline_query_result_cached_mpeg4_gif.html | 251 +++++++++++++++++++++ ...bot_1_1_inline_query_result_cached_mpeg4_gif.js | 6 + ...ot_1_1_inline_query_result_cached_mpeg4_gif.png | Bin 0 -> 877 bytes docs/d0/d26/class_tg_bot_1_1_chat-members.html | 109 +++++++++ docs/d0/d38/class_tg_bot_1_1_input_file.html | 195 ++++++++++++++++ docs/d0/d38/class_tg_bot_1_1_input_file.js | 7 + .../class_tg_bot_1_1_message_entity-members.html | 106 +++++++++ docs/d0/d72/_tg_exception_8h.html | 116 ++++++++++ docs/d0/d72/_tg_exception_8h_source.html | 101 +++++++++ docs/d0/d87/_tg_webhook_server_8h.html | 118 ++++++++++ docs/d0/d87/_tg_webhook_server_8h_source.html | 115 ++++++++++ ...ass_tg_bot_1_1_inline_query_result-members.html | 109 +++++++++ .../db4/class_tg_bot_1_1_force_reply-members.html | 104 +++++++++ ...bot_1_1_inline_query_result_cached_sticker.html | 251 +++++++++++++++++++++ ...g_bot_1_1_inline_query_result_cached_sticker.js | 6 + ..._bot_1_1_inline_query_result_cached_sticker.png | Bin 0 -> 856 bytes ..._1_1_inline_query_result_mpeg4_gif-members.html | 115 ++++++++++ .../class_tg_bot_1_1_reply_keyboard_remove.html | 194 ++++++++++++++++ .../dff/class_tg_bot_1_1_reply_keyboard_remove.js | 6 + .../dff/class_tg_bot_1_1_reply_keyboard_remove.png | Bin 0 -> 772 bytes 20 files changed, 1909 insertions(+) create mode 100644 docs/d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.html create mode 100644 docs/d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.js create mode 100644 docs/d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.png create mode 100644 docs/d0/d26/class_tg_bot_1_1_chat-members.html create mode 100644 docs/d0/d38/class_tg_bot_1_1_input_file.html create mode 100644 docs/d0/d38/class_tg_bot_1_1_input_file.js create mode 100644 docs/d0/d39/class_tg_bot_1_1_message_entity-members.html create mode 100644 docs/d0/d72/_tg_exception_8h.html create mode 100644 docs/d0/d72/_tg_exception_8h_source.html create mode 100644 docs/d0/d87/_tg_webhook_server_8h.html create mode 100644 docs/d0/d87/_tg_webhook_server_8h_source.html create mode 100644 docs/d0/dad/class_tg_bot_1_1_inline_query_result-members.html create mode 100644 docs/d0/db4/class_tg_bot_1_1_force_reply-members.html create mode 100644 docs/d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.html create mode 100644 docs/d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.js create mode 100644 docs/d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.png create mode 100644 docs/d0/de7/class_tg_bot_1_1_inline_query_result_mpeg4_gif-members.html create mode 100644 docs/d0/dff/class_tg_bot_1_1_reply_keyboard_remove.html create mode 100644 docs/d0/dff/class_tg_bot_1_1_reply_keyboard_remove.js create mode 100644 docs/d0/dff/class_tg_bot_1_1_reply_keyboard_remove.png (limited to 'docs/d0') diff --git a/docs/d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.html b/docs/d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.html new file mode 100644 index 0000000..e2521f6 --- /dev/null +++ b/docs/d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.html @@ -0,0 +1,251 @@ + + + + + + + +tgbot-cpp: TgBot::InlineQueryResultCachedMpeg4Gif Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::InlineQueryResultCachedMpeg4Gif Class Reference
+
+
+ +

#include <InlineQueryResultCachedMpeg4Gif.h>

+
+Inheritance diagram for TgBot::InlineQueryResultCachedMpeg4Gif:
+
+
+ + +TgBot::InlineQueryResult + +
+ + + + + + + +

+Public Types

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

+Public Member Functions

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

+Public Attributes

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

+Static Public Attributes

static const std::string TYPE
 
+

Detailed Description

+

Represents a link to a video animation (H.264/MPEG-4 AVC video without sound) stored on the Telegram servers.

+ +

Definition at line 19 of file InlineQueryResultCachedMpeg4Gif.h.

+

Member Typedef Documentation

+ +

◆ Ptr

+ +
+
+ +

Definition at line 23 of file InlineQueryResultCachedMpeg4Gif.h.

+ +
+
+

Constructor & Destructor Documentation

+ +

◆ InlineQueryResultCachedMpeg4Gif()

+ +
+
+ + + + + +
+ + + + + + + +
TgBot::InlineQueryResultCachedMpeg4Gif::InlineQueryResultCachedMpeg4Gif ()
+
+inline
+
+ +

Definition at line 25 of file InlineQueryResultCachedMpeg4Gif.h.

+ +
+
+

Member Data Documentation

+ +

◆ mpeg4FileId

+ +
+
+ + + + +
std::string TgBot::InlineQueryResultCachedMpeg4Gif::mpeg4FileId
+
+

A valid file identifier for the MP4 file

+ +

Definition at line 32 of file InlineQueryResultCachedMpeg4Gif.h.

+ +
+
+ +

◆ TYPE

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

Definition at line 21 of file InlineQueryResultCachedMpeg4Gif.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.js b/docs/d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.js new file mode 100644 index 0000000..b09c2d8 --- /dev/null +++ b/docs/d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.js @@ -0,0 +1,6 @@ +var class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif = +[ + [ "Ptr", "d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.html#af229f5bd8982f0967e228194ce3345ed", null ], + [ "InlineQueryResultCachedMpeg4Gif", "d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.html#a254f37e1825c60c400ce0a7842d87dd1", null ], + [ "mpeg4FileId", "d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.html#a22d408fa2322cf94ac758fdec28796f8", null ] +]; \ No newline at end of file diff --git a/docs/d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.png b/docs/d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.png new file mode 100644 index 0000000..5502959 Binary files /dev/null and b/docs/d0/d1d/class_tg_bot_1_1_inline_query_result_cached_mpeg4_gif.png differ diff --git a/docs/d0/d26/class_tg_bot_1_1_chat-members.html b/docs/d0/d26/class_tg_bot_1_1_chat-members.html new file mode 100644 index 0000000..8d50b25 --- /dev/null +++ b/docs/d0/d26/class_tg_bot_1_1_chat-members.html @@ -0,0 +1,109 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::Chat Member List
+
+ +
+ + + + diff --git a/docs/d0/d38/class_tg_bot_1_1_input_file.html b/docs/d0/d38/class_tg_bot_1_1_input_file.html new file mode 100644 index 0000000..ff6de93 --- /dev/null +++ b/docs/d0/d38/class_tg_bot_1_1_input_file.html @@ -0,0 +1,195 @@ + + + + + + + +tgbot-cpp: TgBot::InputFile Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::InputFile Class Reference
+
+
+ +

#include <InputFile.h>

+ + + + +

+Public Types

typedef std::shared_ptr< InputFilePtr
 
+ + + + + + + +

+Public Attributes

std::string data
 
std::string mimeType
 
std::string fileName
 
+

Detailed Description

+

This object represents the contents of a file to be uploaded.

+ +

Definition at line 36 of file InputFile.h.

+

Member Typedef Documentation

+ +

◆ Ptr

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

Definition at line 39 of file InputFile.h.

+ +
+
+

Member Data Documentation

+ +

◆ data

+ +
+
+ + + + +
std::string TgBot::InputFile::data
+
+

Contents of a file.

+ +

Definition at line 44 of file InputFile.h.

+ +
+
+ +

◆ fileName

+ +
+
+ + + + +
std::string TgBot::InputFile::fileName
+
+

File name.

+ +

Definition at line 54 of file InputFile.h.

+ +
+
+ +

◆ mimeType

+ +
+
+ + + + +
std::string TgBot::InputFile::mimeType
+
+

Mime type of a file.

+ +

Definition at line 49 of file InputFile.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d0/d38/class_tg_bot_1_1_input_file.js b/docs/d0/d38/class_tg_bot_1_1_input_file.js new file mode 100644 index 0000000..ad39cc5 --- /dev/null +++ b/docs/d0/d38/class_tg_bot_1_1_input_file.js @@ -0,0 +1,7 @@ +var class_tg_bot_1_1_input_file = +[ + [ "Ptr", "d0/d38/class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f", null ], + [ "data", "d0/d38/class_tg_bot_1_1_input_file.html#a1633c8f4a40274f53ee6aed3ecd42ef7", null ], + [ "fileName", "d0/d38/class_tg_bot_1_1_input_file.html#a47c113dd1cb4678d7ab14f1f033a5b1d", null ], + [ "mimeType", "d0/d38/class_tg_bot_1_1_input_file.html#a02575330b4deaa9d2cab5ebd8d8e2e5e", null ] +]; \ No newline at end of file diff --git a/docs/d0/d39/class_tg_bot_1_1_message_entity-members.html b/docs/d0/d39/class_tg_bot_1_1_message_entity-members.html new file mode 100644 index 0000000..dd3aa7f --- /dev/null +++ b/docs/d0/d39/class_tg_bot_1_1_message_entity-members.html @@ -0,0 +1,106 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::MessageEntity Member List
+
+ +
+ + + + diff --git a/docs/d0/d72/_tg_exception_8h.html b/docs/d0/d72/_tg_exception_8h.html new file mode 100644 index 0000000..010fb8d --- /dev/null +++ b/docs/d0/d72/_tg_exception_8h.html @@ -0,0 +1,116 @@ + + + + + + + +tgbot-cpp: include/tgbot/TgException.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgException.h File Reference
+
+
+
#include <string>
+#include <stdexcept>
+
+

Go to the source code of this file.

+ + + + +

+Classes

class  TgBot::TgException
 
+ + + +

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d0/d72/_tg_exception_8h_source.html b/docs/d0/d72/_tg_exception_8h_source.html new file mode 100644 index 0000000..c0f47fb --- /dev/null +++ b/docs/d0/d72/_tg_exception_8h_source.html @@ -0,0 +1,101 @@ + + + + + + + +tgbot-cpp: include/tgbot/TgException.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgException.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_TGEXCEPTION_H
24 #define TGBOT_TGEXCEPTION_H
25 
26 #include <string>
27 #include <stdexcept>
28 
29 namespace TgBot {
30 
35 class TgException : public std::runtime_error {
36 
37 public:
38  explicit TgException(const std::string description);
39 };
40 
41 }
42 
43 #endif //TGBOT_TGEXCEPTION_H
+
Definition: Api.h:44
+
TgException(const std::string description)
+
+
+ + + + diff --git a/docs/d0/d87/_tg_webhook_server_8h.html b/docs/d0/d87/_tg_webhook_server_8h.html new file mode 100644 index 0000000..80fad0c --- /dev/null +++ b/docs/d0/d87/_tg_webhook_server_8h.html @@ -0,0 +1,118 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/TgWebhookServer.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgWebhookServer.h File Reference
+
+
+
#include "tgbot/Bot.h"
+#include "tgbot/EventHandler.h"
+#include "tgbot/TgTypeParser.h"
+#include "tgbot/net/HttpServer.h"
+
+

Go to the source code of this file.

+ + + + +

+Classes

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

+Namespaces

 TgBot
 
+
+
+ + + + diff --git a/docs/d0/d87/_tg_webhook_server_8h_source.html b/docs/d0/d87/_tg_webhook_server_8h_source.html new file mode 100644 index 0000000..5532b6a --- /dev/null +++ b/docs/d0/d87/_tg_webhook_server_8h_source.html @@ -0,0 +1,115 @@ + + + + + + + +tgbot-cpp: include/tgbot/net/TgWebhookServer.h Source File + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgWebhookServer.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_TGHTTPSERVER_H
24 #define TGBOT_TGHTTPSERVER_H
25 
26 #include "tgbot/Bot.h"
27 #include "tgbot/EventHandler.h"
28 #include "tgbot/TgTypeParser.h"
29 #include "tgbot/net/HttpServer.h"
30 
31 namespace TgBot {
32 
33 template<typename Protocol>
34 class TgWebhookServer : public HttpServer<Protocol> {
35 
36 public:
37  TgWebhookServer(std::shared_ptr<boost::asio::basic_socket_acceptor<Protocol>> acceptor, const typename HttpServer<Protocol>::ServerHandler& handler) = delete;
38 
39  TgWebhookServer(std::shared_ptr<boost::asio::basic_socket_acceptor<Protocol>> acceptor, const std::string& path, const EventHandler* eventHandler) :
40  HttpServer<Protocol>(acceptor, [this, eventHandler, &path](const std::string& data, const std::map<std::string, std::string>& headers) -> std::string {
41  if (headers.at("method") == "POST" && headers.at("path") == path) {
42  eventHandler->handleUpdate(TgTypeParser::getInstance().parseJsonAndGetUpdate(TgTypeParser::getInstance().parseJson(data)));
43  }
45  })
46  {
47  }
48 
49  TgWebhookServer(std::shared_ptr<boost::asio::basic_socket_acceptor<Protocol>> acceptor, const std::string& path, const Bot& bot) :
50  TgWebhookServer(acceptor, path, &bot.getEventHandler())
51  {
52  }
53 };
54 
55 }
56 
57 #endif //TGBOT_TGHTTPSERVER_H
TgWebhookServer(std::shared_ptr< boost::asio::basic_socket_acceptor< Protocol >> acceptor, const std::string &path, const Bot &bot)
+
static TgTypeParser & getInstance()
+ +
Definition: Api.h:44
+ +
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 typename HttpServer< Protocol >::ServerHandler &handler)=delete
+
Definition: Bot.h:38
+
std::string generateResponse(const std::string &data, const std::string &mimeType="text/plain", short unsigned statusCode=200, const std::string &statusStr="OK", bool isKeepAlive=false)
+
static HttpParser & getInstance()
+ + +
std::function< std::string(const std::string &, const std::map< std::string, std::string >)> ServerHandler
Definition: HttpServer.h:42
+
void handleUpdate(const Update::Ptr &update) const
Definition: EventHandler.h:65
+ +
+
+ + + + diff --git a/docs/d0/dad/class_tg_bot_1_1_inline_query_result-members.html b/docs/d0/dad/class_tg_bot_1_1_inline_query_result-members.html new file mode 100644 index 0000000..1fb11f2 --- /dev/null +++ b/docs/d0/dad/class_tg_bot_1_1_inline_query_result-members.html @@ -0,0 +1,109 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::InlineQueryResult Member List
+
+ +
+ + + + diff --git a/docs/d0/db4/class_tg_bot_1_1_force_reply-members.html b/docs/d0/db4/class_tg_bot_1_1_force_reply-members.html new file mode 100644 index 0000000..f25bf59 --- /dev/null +++ b/docs/d0/db4/class_tg_bot_1_1_force_reply-members.html @@ -0,0 +1,104 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::ForceReply Member List
+
+
+ +

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

+ + + + + +
forceReplyTgBot::ForceReply
Ptr typedefTgBot::ForceReply
selectiveTgBot::ForceReply
~GenericReply()TgBot::GenericReplyinlinevirtual
+
+ + + + diff --git a/docs/d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.html b/docs/d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.html new file mode 100644 index 0000000..ee98011 --- /dev/null +++ b/docs/d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.html @@ -0,0 +1,251 @@ + + + + + + + +tgbot-cpp: TgBot::InlineQueryResultCachedSticker Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::InlineQueryResultCachedSticker Class Reference
+
+
+ +

#include <InlineQueryResultCachedSticker.h>

+
+Inheritance diagram for TgBot::InlineQueryResultCachedSticker:
+
+
+ + +TgBot::InlineQueryResult + +
+ + + + + + + +

+Public Types

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

+Public Member Functions

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

+Public Attributes

std::string stickerFileId
 
- 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 sticker stored on the Telegram servers.

+ +

Definition at line 19 of file InlineQueryResultCachedSticker.h.

+

Member Typedef Documentation

+ +

◆ Ptr

+ +
+
+ +

Definition at line 23 of file InlineQueryResultCachedSticker.h.

+ +
+
+

Constructor & Destructor Documentation

+ +

◆ InlineQueryResultCachedSticker()

+ +
+
+ + + + + +
+ + + + + + + +
TgBot::InlineQueryResultCachedSticker::InlineQueryResultCachedSticker ()
+
+inline
+
+ +

Definition at line 25 of file InlineQueryResultCachedSticker.h.

+ +
+
+

Member Data Documentation

+ +

◆ stickerFileId

+ +
+
+ + + + +
std::string TgBot::InlineQueryResultCachedSticker::stickerFileId
+
+

A valid file identifier of the sticker

+ +

Definition at line 32 of file InlineQueryResultCachedSticker.h.

+ +
+
+ +

◆ TYPE

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

Definition at line 21 of file InlineQueryResultCachedSticker.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.js b/docs/d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.js new file mode 100644 index 0000000..9ec95fc --- /dev/null +++ b/docs/d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.js @@ -0,0 +1,6 @@ +var class_tg_bot_1_1_inline_query_result_cached_sticker = +[ + [ "Ptr", "d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.html#a5b4730538d2f7fc2ba4ebbd244922d60", null ], + [ "InlineQueryResultCachedSticker", "d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.html#a5058676da96b77c58d6abb1979b0783e", null ], + [ "stickerFileId", "d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.html#a64bd220c343ee8165afc4e079bcb52fb", null ] +]; \ No newline at end of file diff --git a/docs/d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.png b/docs/d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.png new file mode 100644 index 0000000..8d0c559 Binary files /dev/null and b/docs/d0/ddb/class_tg_bot_1_1_inline_query_result_cached_sticker.png differ diff --git a/docs/d0/de7/class_tg_bot_1_1_inline_query_result_mpeg4_gif-members.html b/docs/d0/de7/class_tg_bot_1_1_inline_query_result_mpeg4_gif-members.html new file mode 100644 index 0000000..6be56eb --- /dev/null +++ b/docs/d0/de7/class_tg_bot_1_1_inline_query_result_mpeg4_gif-members.html @@ -0,0 +1,115 @@ + + + + + + + +tgbot-cpp: Member List + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TgBot::InlineQueryResultMpeg4Gif Member List
+
+ +
+ + + + diff --git a/docs/d0/dff/class_tg_bot_1_1_reply_keyboard_remove.html b/docs/d0/dff/class_tg_bot_1_1_reply_keyboard_remove.html new file mode 100644 index 0000000..e99c05f --- /dev/null +++ b/docs/d0/dff/class_tg_bot_1_1_reply_keyboard_remove.html @@ -0,0 +1,194 @@ + + + + + + + +tgbot-cpp: TgBot::ReplyKeyboardRemove Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::ReplyKeyboardRemove Class Reference
+
+
+ +

#include <ReplyKeyboardRemove.h>

+
+Inheritance diagram for TgBot::ReplyKeyboardRemove:
+
+
+ + +TgBot::GenericReply + +
+ + + + + + + +

+Public Types

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

+Public Attributes

const bool removeKeyboard = true
 
bool selective = false
 
+ + + + +

+Additional Inherited Members

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

Detailed Description

+

Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard. By default, custom keyboards are displayed until a new keyboard is sent by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button (see ReplyKeyboardMarkup).

+ +

Definition at line 20 of file ReplyKeyboardRemove.h.

+

Member Typedef Documentation

+ +

◆ Ptr

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

Definition at line 23 of file ReplyKeyboardRemove.h.

+ +
+
+

Member Data Documentation

+ +

◆ removeKeyboard

+ +
+
+ + + + +
const bool TgBot::ReplyKeyboardRemove::removeKeyboard = true
+
+

Requests clients to remove the custom keyboard (user will not be able to summon this keyboard; if you want to hide the keyboard from sight but keep it accessible, use one_time_keyboard in ReplyKeyboardMarkup)

+ +

Definition at line 29 of file ReplyKeyboardRemove.h.

+ +
+
+ +

◆ selective

+ +
+
+ + + + +
bool TgBot::ReplyKeyboardRemove::selective = false
+
+

Optional. Use this parameter if you want to remove the keyboard for specific users only. Targets: 1) users that are in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message. Example: A user votes in a poll, bot returns confirmation message in reply to the vote and removes the keyboard for that user, while still showing the keyboard with poll options to users who haven't voted yet.

+ +

Definition at line 35 of file ReplyKeyboardRemove.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d0/dff/class_tg_bot_1_1_reply_keyboard_remove.js b/docs/d0/dff/class_tg_bot_1_1_reply_keyboard_remove.js new file mode 100644 index 0000000..1dbdfe8 --- /dev/null +++ b/docs/d0/dff/class_tg_bot_1_1_reply_keyboard_remove.js @@ -0,0 +1,6 @@ +var class_tg_bot_1_1_reply_keyboard_remove = +[ + [ "Ptr", "d0/dff/class_tg_bot_1_1_reply_keyboard_remove.html#aaa58ef7c177db3a3f46530bfb5fc0148", null ], + [ "removeKeyboard", "d0/dff/class_tg_bot_1_1_reply_keyboard_remove.html#a42b8b08952603a9566757bbe7d543408", null ], + [ "selective", "d0/dff/class_tg_bot_1_1_reply_keyboard_remove.html#a840a781ad230cee4c50057a7c7f82828", null ] +]; \ No newline at end of file diff --git a/docs/d0/dff/class_tg_bot_1_1_reply_keyboard_remove.png b/docs/d0/dff/class_tg_bot_1_1_reply_keyboard_remove.png new file mode 100644 index 0000000..cecb867 Binary files /dev/null and b/docs/d0/dff/class_tg_bot_1_1_reply_keyboard_remove.png differ -- cgit v1.2.3