From c8d40dccabaaa406faed6c0797a92bac811c9d0f Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Tue, 5 Jun 2018 19:07:27 +0300 Subject: Update docs --- docs/class_tg_bot_1_1_event_broadcaster.html | 66 +++++++++++++++++++--------- 1 file changed, 45 insertions(+), 21 deletions(-) (limited to 'docs/class_tg_bot_1_1_event_broadcaster.html') diff --git a/docs/class_tg_bot_1_1_event_broadcaster.html b/docs/class_tg_bot_1_1_event_broadcaster.html index 531c4ba..2ece4f8 100644 --- a/docs/class_tg_bot_1_1_event_broadcaster.html +++ b/docs/class_tg_bot_1_1_event_broadcaster.html @@ -88,6 +88,9 @@ $(document).ready(function(){initNavTree('class_tg_bot_1_1_event_broadcaster.htm
+

This class holds all event listeners. + More...

+

#include <EventBroadcaster.h>

+ + + + + + + @@ -123,7 +133,7 @@ Public Member Functions

Detailed Description

This class holds all event listeners.

-

Definition at line 44 of file EventBroadcaster.h.

+

Definition at line 45 of file EventBroadcaster.h.

Member Typedef Documentation

◆ CallbackQueryListener

@@ -137,7 +147,7 @@ Public Member Functions

@@ -104,18 +107,25 @@ Public Types

Public Member Functions

void onAnyMessage (const MessageListener &listener)
 Registers listener which receives all messages which the bot can ever receive. More...
 
void onCommand (const std::string &commandName, const MessageListener &listener)
 Registers listener which receives all messages with commands (messages with leading '/' char). More...
 
void onCommand (const std::initializer_list< std::string > &commandsList, const MessageListener &listener)
 Registers listener which receives all messages with commands (messages with leading '/' char). More...
 
void onUnknownCommand (const MessageListener &listener)
 Registers listener which receives all messages with commands (messages with leading '/' char) which haven't been handled by other listeners. More...
 
void onNonCommandMessage (const MessageListener &listener)
 Registers listener which receives all messages without commands (messages with no leading '/' char) More...
 
void onInlineQuery (const InlineQueryListener &listener)
 Registers listener which receives all the inline query. More...
 
void onChosenInlineResult (const ChosenInlineResultListener &listener)
 Registers listener which receives all the chosen inline result. More...
 
void onCallbackQuery (const CallbackQueryListener &listener)
 
-

Definition at line 52 of file EventBroadcaster.h.

+

Definition at line 53 of file EventBroadcaster.h.

@@ -153,7 +163,7 @@ Public Member Functions
-

Definition at line 51 of file EventBroadcaster.h.

+

Definition at line 52 of file EventBroadcaster.h.

@@ -169,7 +179,7 @@ Public Member Functions
-

Definition at line 50 of file EventBroadcaster.h.

+

Definition at line 51 of file EventBroadcaster.h.

@@ -185,7 +195,7 @@ Public Member Functions
-

Definition at line 49 of file EventBroadcaster.h.

+

Definition at line 50 of file EventBroadcaster.h.

@@ -213,14 +223,16 @@ Public Member Functions
-

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

Parameters
+ +

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

+
Parameters
listenerListener.
-

Definition at line 58 of file EventBroadcaster.h.

+

Definition at line 59 of file EventBroadcaster.h.

@@ -248,7 +260,7 @@ Public Member Functions
-

Definition at line 115 of file EventBroadcaster.h.

+

Definition at line 116 of file EventBroadcaster.h.

@@ -275,14 +287,16 @@ Public Member Functions
-

Registers listener which receives all the chosen inline result.

Parameters
+ +

Registers listener which receives all the chosen inline result.

+
Parameters
listenerListener.
-

Definition at line 111 of file EventBroadcaster.h.

+

Definition at line 112 of file EventBroadcaster.h.

@@ -319,7 +333,9 @@ Public Member Functions
-

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

Parameters
+ +

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

+
Parameters
@@ -327,7 +343,7 @@ Public Member Functions -

Definition at line 67 of file EventBroadcaster.h.

+

Definition at line 68 of file EventBroadcaster.h.

@@ -364,7 +380,9 @@ Public Member Functions
commandNameCommand name which listener can handle.
listenerListener.
-

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

Parameters
+ +

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

+
Parameters
@@ -372,7 +390,7 @@ Public Member Functions -

Definition at line 76 of file EventBroadcaster.h.

+

Definition at line 77 of file EventBroadcaster.h.

@@ -399,14 +417,16 @@ Public Member Functions
commandsListCommands names which listener can handle.
listenerListener.
-

Registers listener which receives all the inline query.

Parameters
+ +

Registers listener which receives all the inline query.

+
Parameters
listenerListener.
-

Definition at line 103 of file EventBroadcaster.h.

+

Definition at line 104 of file EventBroadcaster.h.

@@ -433,14 +453,16 @@ Public Member Functions
-

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

Parameters
+ +

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

+
Parameters
listenerListener.
-

Definition at line 95 of file EventBroadcaster.h.

+

Definition at line 96 of file EventBroadcaster.h.

@@ -467,14 +489,16 @@ Public Member Functions
-

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

Parameters
+ +

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 87 of file EventBroadcaster.h.

+

Definition at line 88 of file EventBroadcaster.h.

@@ -487,7 +511,7 @@ Public Member Functions