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 | 449 |
1 files changed, 449 insertions, 0 deletions
diff --git a/docs/class_tg_bot_1_1_event_broadcaster.html b/docs/class_tg_bot_1_1_event_broadcaster.html new file mode 100644 index 0000000..bf4632c --- /dev/null +++ b/docs/class_tg_bot_1_1_event_broadcaster.html @@ -0,0 +1,449 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.13"/> +<meta name="viewport" content="width=device-width, initial-scale=1"/> +<title>tgbot-cpp: TgBot::EventBroadcaster Class Reference</title> +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="dynsections.js"></script> +<link href="navtree.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="resize.js"></script> +<script type="text/javascript" src="navtreedata.js"></script> +<script type="text/javascript" src="navtree.js"></script> +<script type="text/javascript"> + $(document).ready(initResizable); +</script> +<link href="search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="search/searchdata.js"></script> +<script type="text/javascript" src="search/search.js"></script> +<link href="doxygen.css" rel="stylesheet" type="text/css" /> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <td id="projectalign" style="padding-left: 0.5em;"> + <div id="projectname">tgbot-cpp + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.13 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +</script> +<script type="text/javascript" src="menudata.js"></script> +<script type="text/javascript" src="menu.js"></script> +<script type="text/javascript"> +$(function() { + initMenu('',true,false,'search.php','Search'); + $(document).ready(function() { init_search(); }); +}); +</script> +<div id="main-nav"></div> +</div><!-- top --> +<div id="side-nav" class="ui-resizable side-nav-resizable"> + <div id="nav-tree"> + <div id="nav-tree-contents"> + <div id="nav-sync" class="sync"></div> + </div> + </div> + <div id="splitbar" style="-moz-user-select:none;" + class="ui-resizable-handle"> + </div> +</div> +<script type="text/javascript"> +$(document).ready(function(){initNavTree('class_tg_bot_1_1_event_broadcaster.html','');}); +</script> +<div id="doc-content"> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +</div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div class="header"> + <div class="summary"> +<a href="#pub-types">Public Types</a> | +<a href="#pub-methods">Public Member Functions</a> | +<a href="class_tg_bot_1_1_event_broadcaster-members.html">List of all members</a> </div> + <div class="headertitle"> +<div class="title">TgBot::EventBroadcaster Class Reference<div class="ingroups"><a class="el" href="group__general.html">General</a></div></div> </div> +</div><!--header--> +<div class="contents"> + +<p><code>#include <<a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>></code></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> +Public Types</h2></td></tr> +<tr class="memitem:a9fda4ac3089dc101be4fd3a2a104185c"><td class="memItemLeft" align="right" valign="top">typedef std::function< void(const <a class="el" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> &)> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a9fda4ac3089dc101be4fd3a2a104185c">MessageListener</a></td></tr> +<tr class="separator:a9fda4ac3089dc101be4fd3a2a104185c"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a437f0af514141d0a5d4fb684a56fe199"><td class="memItemLeft" align="right" valign="top">typedef std::function< void(const <a class="el" href="class_tg_bot_1_1_inline_query.html#a82b36b38b3587e6a721b6fa579759b0c">InlineQuery::Ptr</a> &)> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a437f0af514141d0a5d4fb684a56fe199">InlineQueryListener</a></td></tr> +<tr class="separator:a437f0af514141d0a5d4fb684a56fe199"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:af9b674f16ddd707748f7ca8bf7f3ef91"><td class="memItemLeft" align="right" valign="top">typedef std::function< void(const <a class="el" href="class_tg_bot_1_1_chosen_inline_result.html#ad4b7edd30fd0d876fa99493fe19b3247">ChosenInlineResult::Ptr</a> &)> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_event_broadcaster.html#af9b674f16ddd707748f7ca8bf7f3ef91">ChosenInlineResultListener</a></td></tr> +<tr class="separator:af9b674f16ddd707748f7ca8bf7f3ef91"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a1b5bf368b89d78d9c1582a1523a66b4e"><td class="memItemLeft" align="right" valign="top">typedef std::function< void(const <a class="el" href="class_tg_bot_1_1_callback_query.html#a5a5e4f8368bd95ba214e68cde5d1c7c0">CallbackQuery::Ptr</a> &)> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a1b5bf368b89d78d9c1582a1523a66b4e">CallbackQueryListener</a></td></tr> +<tr class="separator:a1b5bf368b89d78d9c1582a1523a66b4e"><td class="memSeparator" colspan="2"> </td></tr> +</table><table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> +Public Member Functions</h2></td></tr> +<tr class="memitem:a21adc85e9ed2a08a186423a5231342a9"><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#a21adc85e9ed2a08a186423a5231342a9">onAnyMessage</a> (const <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a9fda4ac3089dc101be4fd3a2a104185c">MessageListener</a> &listener)</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#a9fda4ac3089dc101be4fd3a2a104185c">MessageListener</a> &listener)</td></tr> +<tr class="separator:a13e4a906203fe43a950f1420b68c7583"><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#a9fda4ac3089dc101be4fd3a2a104185c">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#a9fda4ac3089dc101be4fd3a2a104185c">MessageListener</a> &listener)</td></tr> +<tr class="separator:a22e70b8493ea455e70734a36968f3d55"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a9d3f31225ea84af8cb47ab2a53186ef0"><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#a9d3f31225ea84af8cb47ab2a53186ef0">onInlineQuery</a> (const <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a437f0af514141d0a5d4fb684a56fe199">InlineQueryListener</a> &listener)</td></tr> +<tr class="separator:a9d3f31225ea84af8cb47ab2a53186ef0"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a7397520ff294c863b306142e29030482"><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#a7397520ff294c863b306142e29030482">onChosenInlineResult</a> (const <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#af9b674f16ddd707748f7ca8bf7f3ef91">ChosenInlineResultListener</a> &listener)</td></tr> +<tr class="separator:a7397520ff294c863b306142e29030482"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a3ec551ffdcf5be1b9b39ed081ea078d4"><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#a3ec551ffdcf5be1b9b39ed081ea078d4">onCallbackQuery</a> (const <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a1b5bf368b89d78d9c1582a1523a66b4e">CallbackQueryListener</a> &listener)</td></tr> +<tr class="separator:a3ec551ffdcf5be1b9b39ed081ea078d4"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> +<div class="textblock"><p>This class holds all event listeners. </p> + +<p class="definition">Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00044">44</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> +</div><h2 class="groupheader">Member Typedef Documentation</h2> +<a id="a1b5bf368b89d78d9c1582a1523a66b4e"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a1b5bf368b89d78d9c1582a1523a66b4e">◆ </a></span>CallbackQueryListener</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef std::function<void (const <a class="el" href="class_tg_bot_1_1_callback_query.html#a5a5e4f8368bd95ba214e68cde5d1c7c0">CallbackQuery::Ptr</a>&)> <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a1b5bf368b89d78d9c1582a1523a66b4e">TgBot::EventBroadcaster::CallbackQueryListener</a></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="definition">Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00052">52</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> + +</div> +</div> +<a id="af9b674f16ddd707748f7ca8bf7f3ef91"></a> +<h2 class="memtitle"><span class="permalink"><a href="#af9b674f16ddd707748f7ca8bf7f3ef91">◆ </a></span>ChosenInlineResultListener</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef std::function<void (const <a class="el" href="class_tg_bot_1_1_chosen_inline_result.html#ad4b7edd30fd0d876fa99493fe19b3247">ChosenInlineResult::Ptr</a>&)> <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#af9b674f16ddd707748f7ca8bf7f3ef91">TgBot::EventBroadcaster::ChosenInlineResultListener</a></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="definition">Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00051">51</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> + +</div> +</div> +<a id="a437f0af514141d0a5d4fb684a56fe199"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a437f0af514141d0a5d4fb684a56fe199">◆ </a></span>InlineQueryListener</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef std::function<void (const <a class="el" href="class_tg_bot_1_1_inline_query.html#a82b36b38b3587e6a721b6fa579759b0c">InlineQuery::Ptr</a>&)> <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a437f0af514141d0a5d4fb684a56fe199">TgBot::EventBroadcaster::InlineQueryListener</a></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="definition">Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00050">50</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> + +</div> +</div> +<a id="a9fda4ac3089dc101be4fd3a2a104185c"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a9fda4ac3089dc101be4fd3a2a104185c">◆ </a></span>MessageListener</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef std::function<void (const <a class="el" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a>&)> <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a9fda4ac3089dc101be4fd3a2a104185c">TgBot::EventBroadcaster::MessageListener</a></td> + </tr> + </table> +</div><div class="memdoc"> + +<p class="definition">Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00049">49</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> + +</div> +</div> +<h2 class="groupheader">Member Function Documentation</h2> +<a id="a21adc85e9ed2a08a186423a5231342a9"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a21adc85e9ed2a08a186423a5231342a9">◆ </a></span>onAnyMessage()</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::onAnyMessage </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a9fda4ac3089dc101be4fd3a2a104185c">MessageListener</a> & </td> + <td class="paramname"><em>listener</em></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 which the bot can ever receive. </p><dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <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#l00058">58</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> + +</div> +</div> +<a id="a3ec551ffdcf5be1b9b39ed081ea078d4"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a3ec551ffdcf5be1b9b39ed081ea078d4">◆ </a></span>onCallbackQuery()</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::onCallbackQuery </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a1b5bf368b89d78d9c1582a1523a66b4e">CallbackQueryListener</a> & </td> + <td class="paramname"><em>listener</em></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 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> +<a id="a7397520ff294c863b306142e29030482"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a7397520ff294c863b306142e29030482">◆ </a></span>onChosenInlineResult()</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::onChosenInlineResult </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#af9b674f16ddd707748f7ca8bf7f3ef91">ChosenInlineResultListener</a> & </td> + <td class="paramname"><em>listener</em></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 the chosen inline result. </p><dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <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#l00099">99</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> + +<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::string & </td> + <td class="paramname"><em>commandName</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#a9fda4ac3089dc101be4fd3a2a104185c">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">commandName</td><td>Command name 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#l00067">67</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> + +<div class="memitem"> +<div class="memproto"> +<table class="mlabels"> + <tr> + <td class="mlabels-left"> + <table class="memname"> + <tr> + <td class="memname">void TgBot::EventBroadcaster::onInlineQuery </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a437f0af514141d0a5d4fb684a56fe199">InlineQueryListener</a> & </td> + <td class="paramname"><em>listener</em></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 the inline query. </p><dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <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#l00091">91</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> + +</div> +</div> +<a id="a22e70b8493ea455e70734a36968f3d55"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a22e70b8493ea455e70734a36968f3d55">◆ </a></span>onNonCommandMessage()</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::onNonCommandMessage </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a9fda4ac3089dc101be4fd3a2a104185c">MessageListener</a> & </td> + <td class="paramname"><em>listener</em></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 without commands (messages with no leading '/' char) </p><dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <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#l00083">83</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> + +</div> +</div> +<a id="a5bed996221f047ec0469ae19e7bd00eb"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a5bed996221f047ec0469ae19e7bd00eb">◆ </a></span>onUnknownCommand()</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::onUnknownCommand </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a9fda4ac3089dc101be4fd3a2a104185c">MessageListener</a> & </td> + <td class="paramname"><em>listener</em></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) which haven't been handled by other listeners. </p><dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <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#l00075">75</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p> + +</div> +</div> +<hr/>The documentation for this class was generated from the following file:<ul> +<li>include/tgbot/<a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a></li> +</ul> +</div><!-- contents --> +</div><!-- doc-content --> +<!-- start footer part --> +<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 Sun Jan 15 2017 02:46:16 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> +</div> +</body> +</html> |