From d03eda27cdbe75470068d7513ecf510d8d342cf5 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 15 Jan 2017 02:46:48 +0300 Subject: Docs --- docs/class_tg_bot_1_1_bot.html | 266 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 266 insertions(+) create mode 100644 docs/class_tg_bot_1_1_bot.html (limited to 'docs/class_tg_bot_1_1_bot.html') diff --git a/docs/class_tg_bot_1_1_bot.html b/docs/class_tg_bot_1_1_bot.html new file mode 100644 index 0000000..e0ef726 --- /dev/null +++ b/docs/class_tg_bot_1_1_bot.html @@ -0,0 +1,266 @@ + + + + + + + +tgbot-cpp: TgBot::Bot Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::Bot Class Reference
+
+
+ +

#include <Bot.h>

+ + + + + + + + + + + + +

+Public Member Functions

 Bot (const std::string &token)
 
const std::string & getToken () const
 
const ApigetApi () const
 
EventBroadcastergetEvents ()
 
const EventHandlergetEventHandler () const
 
+

Detailed Description

+

This object holds other objects specific for this bot instance.

+ +

Definition at line 38 of file Bot.h.

+

Constructor & Destructor Documentation

+ +

◆ Bot()

+ +
+
+ + + + + +
+ + + + + + + + +
TgBot::Bot::Bot (const std::string & token)
+
+inlineexplicit
+
+ +

Definition at line 41 of file Bot.h.

+ +
+
+

Member Function Documentation

+ +

◆ getApi()

+ +
+
+ + + + + +
+ + + + + + + +
const Api& TgBot::Bot::getApi () const
+
+inline
+
+
Returns
Object which can execute Telegram Bot API methods.
+ +

Definition at line 54 of file Bot.h.

+ +
+
+ +

◆ getEventHandler()

+ +
+
+ + + + + +
+ + + + + + + +
const EventHandler& TgBot::Bot::getEventHandler () const
+
+inline
+
+
Returns
Object which handles new update objects. Usually it's only needed for TgLongPoll, TgWebhookLocalServer and TgWebhookTcpServer objects.
+ +

Definition at line 68 of file Bot.h.

+ +
+
+ +

◆ getEvents()

+ +
+
+ + + + + +
+ + + + + + + +
EventBroadcaster& TgBot::Bot::getEvents ()
+
+inline
+
+
Returns
Object which holds all event listeners.
+ +

Definition at line 61 of file Bot.h.

+ +
+
+ +

◆ getToken()

+ +
+
+ + + + + +
+ + + + + + + +
const std::string& TgBot::Bot::getToken () const
+
+inline
+
+
Returns
Token for accessing api.
+ +

Definition at line 47 of file Bot.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + -- cgit v1.2.3