diff options
Diffstat (limited to 'docs/class_tg_bot_1_1_event_broadcaster.html')
-rw-r--r-- | docs/class_tg_bot_1_1_event_broadcaster.html | 61 |
1 files changed, 54 insertions, 7 deletions
diff --git a/docs/class_tg_bot_1_1_event_broadcaster.html b/docs/class_tg_bot_1_1_event_broadcaster.html index 9364d47..5e4095b 100644 --- a/docs/class_tg_bot_1_1_event_broadcaster.html +++ b/docs/class_tg_bot_1_1_event_broadcaster.html @@ -107,6 +107,8 @@ Public Member Functions</h2></td></tr> <tr class="separator:a21adc85e9ed2a08a186423a5231342a9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a13e4a906203fe43a950f1420b68c7583"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a13e4a906203fe43a950f1420b68c7583">onCommand</a> (const std::string &commandName, const <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a95899d82f77288a43a28dd24d0fa687a">MessageListener</a> &listener)</td></tr> <tr class="separator:a13e4a906203fe43a950f1420b68c7583"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ad8e56ab49dbe9b4960d454f8b408bf13"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_event_broadcaster.html#ad8e56ab49dbe9b4960d454f8b408bf13">onCommand</a> (const std::initializer_list< std::string > &commandsList, const <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a95899d82f77288a43a28dd24d0fa687a">MessageListener</a> &listener)</td></tr> +<tr class="separator:ad8e56ab49dbe9b4960d454f8b408bf13"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5bed996221f047ec0469ae19e7bd00eb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a5bed996221f047ec0469ae19e7bd00eb">onUnknownCommand</a> (const <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a95899d82f77288a43a28dd24d0fa687a">MessageListener</a> &listener)</td></tr> <tr class="separator:a5bed996221f047ec0469ae19e7bd00eb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a22e70b8493ea455e70734a36968f3d55"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a22e70b8493ea455e70734a36968f3d55">onNonCommandMessage</a> (const <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a95899d82f77288a43a28dd24d0fa687a">MessageListener</a> &listener)</td></tr> @@ -246,7 +248,7 @@ Public Member Functions</h2></td></tr> </table> </div><div class="memdoc"> -<p class="definition">Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00103">103</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> +<p class="definition">Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00115">115</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> </div> </div> @@ -280,12 +282,12 @@ Public Member Functions</h2></td></tr> </dd> </dl> -<p class="definition">Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00099">99</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> +<p class="definition">Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00111">111</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> </div> </div> <a id="a13e4a906203fe43a950f1420b68c7583"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a13e4a906203fe43a950f1420b68c7583">◆ </a></span>onCommand()</h2> +<h2 class="memtitle"><span class="permalink"><a href="#a13e4a906203fe43a950f1420b68c7583">◆ </a></span>onCommand() <span class="overload">[1/2]</span></h2> <div class="memitem"> <div class="memproto"> @@ -329,6 +331,51 @@ Public Member Functions</h2></td></tr> </div> </div> +<a id="ad8e56ab49dbe9b4960d454f8b408bf13"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ad8e56ab49dbe9b4960d454f8b408bf13">◆ </a></span>onCommand() <span class="overload">[2/2]</span></h2> + +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">void TgBot::EventBroadcaster::onCommand </td> + <td>(</td> + <td class="paramtype">const std::initializer_list< std::string > & </td> + <td class="paramname"><em>commandsList</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a95899d82f77288a43a28dd24d0fa687a">MessageListener</a> & </td> + <td class="paramname"><em>listener</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> + </td> + <td class="mlabels-right"> +<span class="mlabels"><span class="mlabel">inline</span></span> </td> + </tr> +</table> +</div><div class="memdoc"> +<p>Registers listener which receives all messages with commands (messages with leading '/' char). </p><dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">commandsList</td><td>Commands names which listener can handle. </td></tr> + <tr><td class="paramname">listener</td><td>Listener. </td></tr> + </table> + </dd> +</dl> + +<p class="definition">Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00076">76</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> + +</div> +</div> <a id="a9d3f31225ea84af8cb47ab2a53186ef0"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9d3f31225ea84af8cb47ab2a53186ef0">◆ </a></span>onInlineQuery()</h2> @@ -359,7 +406,7 @@ Public Member Functions</h2></td></tr> </dd> </dl> -<p class="definition">Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00091">91</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> +<p class="definition">Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00103">103</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> </div> </div> @@ -393,7 +440,7 @@ Public Member Functions</h2></td></tr> </dd> </dl> -<p class="definition">Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00083">83</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> +<p class="definition">Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00095">95</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> </div> </div> @@ -427,7 +474,7 @@ Public Member Functions</h2></td></tr> </dd> </dl> -<p class="definition">Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00075">75</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> +<p class="definition">Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00087">87</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> </div> </div> @@ -440,7 +487,7 @@ Public Member Functions</h2></td></tr> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="namespace_tg_bot.html">TgBot</a></li><li class="navelem"><a class="el" href="class_tg_bot_1_1_event_broadcaster.html">EventBroadcaster</a></li> - <li class="footer">Generated on Thu Jan 26 2017 14:29:53 for tgbot-cpp by + <li class="footer">Generated on Tue Mar 21 2017 19:07:24 for tgbot-cpp by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> </ul> |