summaryrefslogtreecommitdiff
path: root/docs/class_tg_bot_1_1_event_broadcaster.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/class_tg_bot_1_1_event_broadcaster.html')
-rw-r--r--docs/class_tg_bot_1_1_event_broadcaster.html523
1 files changed, 0 insertions, 523 deletions
diff --git a/docs/class_tg_bot_1_1_event_broadcaster.html b/docs/class_tg_bot_1_1_event_broadcaster.html
deleted file mode 100644
index 14396b5..0000000
--- a/docs/class_tg_bot_1_1_event_broadcaster.html
+++ /dev/null
@@ -1,523 +0,0 @@
-<!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.11"/>
-<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);
- $(window).load(resizeHeight);
-</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>
-<script type="text/javascript">
- $(document).ready(function() { init_search(); });
-</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.11 -->
-<script type="text/javascript">
-var searchBox = new SearchBox("searchBox", "search",false,'Search');
-</script>
- <div id="navrow1" class="tabs">
- <ul class="tablist">
- <li><a href="index.html"><span>Main&#160;Page</span></a></li>
- <li><a href="modules.html"><span>Modules</span></a></li>
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
- <li><a href="files.html"><span>Files</span></a></li>
- <li>
- <div id="MSearchBox" class="MSearchBoxInactive">
- <span class="left">
- <img id="MSearchSelect" src="search/mag_sel.png"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- alt=""/>
- <input type="text" id="MSearchField" value="Search" accesskey="S"
- onfocus="searchBox.OnSearchFieldFocus(true)"
- onblur="searchBox.OnSearchFieldFocus(false)"
- onkeyup="searchBox.OnSearchFieldChange(event)"/>
- </span><span class="right">
- <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
- </span>
- </div>
- </li>
- </ul>
- </div>
- <div id="navrow2" class="tabs2">
- <ul class="tablist">
- <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
- <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
- <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
- <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
- </ul>
- </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> &#124;
-<a href="#pub-methods">Public Member Functions</a> &#124;
-<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>This class holds all event listeners.
- <a href="class_tg_bot_1_1_event_broadcaster.html#details">More...</a></p>
-
-<p><code>#include &lt;<a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>&gt;</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:a95899d82f77288a43a28dd24d0fa687a"><td class="memItemLeft" align="right" valign="top">typedef std::function&lt; void(const <a class="el" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a>)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a95899d82f77288a43a28dd24d0fa687a">MessageListener</a></td></tr>
-<tr class="separator:a95899d82f77288a43a28dd24d0fa687a"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a2c0338bc5cc3c1654d0e3f0dac0ab8a6"><td class="memItemLeft" align="right" valign="top">typedef std::function&lt; void(const <a class="el" href="class_tg_bot_1_1_inline_query.html#a82b36b38b3587e6a721b6fa579759b0c">InlineQuery::Ptr</a>)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a2c0338bc5cc3c1654d0e3f0dac0ab8a6">InlineQueryListener</a></td></tr>
-<tr class="separator:a2c0338bc5cc3c1654d0e3f0dac0ab8a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a5348beecf29bdf52c7d21985668bca93"><td class="memItemLeft" align="right" valign="top">typedef std::function&lt; void(const <a class="el" href="class_tg_bot_1_1_chosen_inline_result.html#ad4b7edd30fd0d876fa99493fe19b3247">ChosenInlineResult::Ptr</a>)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a5348beecf29bdf52c7d21985668bca93">ChosenInlineResultListener</a></td></tr>
-<tr class="separator:a5348beecf29bdf52c7d21985668bca93"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a44f1bbafcca84f78f82dc0ef1801619a"><td class="memItemLeft" align="right" valign="top">typedef std::function&lt; void(const <a class="el" href="class_tg_bot_1_1_callback_query.html#a5a5e4f8368bd95ba214e68cde5d1c7c0">CallbackQuery::Ptr</a>)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a44f1bbafcca84f78f82dc0ef1801619a">CallbackQueryListener</a></td></tr>
-<tr class="separator:a44f1bbafcca84f78f82dc0ef1801619a"><td class="memSeparator" colspan="2">&#160;</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&#160;</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#a95899d82f77288a43a28dd24d0fa687a">MessageListener</a> &amp;listener)</td></tr>
-<tr class="memdesc:a21adc85e9ed2a08a186423a5231342a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers listener which receives all messages which the bot can ever receive. <a href="#a21adc85e9ed2a08a186423a5231342a9">More...</a><br /></td></tr>
-<tr class="separator:a21adc85e9ed2a08a186423a5231342a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a13e4a906203fe43a950f1420b68c7583"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a13e4a906203fe43a950f1420b68c7583">onCommand</a> (const std::string &amp;commandName, const <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a95899d82f77288a43a28dd24d0fa687a">MessageListener</a> &amp;listener)</td></tr>
-<tr class="memdesc:a13e4a906203fe43a950f1420b68c7583"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers listener which receives all messages with commands (messages with leading '/' char). <a href="#a13e4a906203fe43a950f1420b68c7583">More...</a><br /></td></tr>
-<tr class="separator:a13e4a906203fe43a950f1420b68c7583"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:ad8e56ab49dbe9b4960d454f8b408bf13"><td class="memItemLeft" align="right" valign="top">void&#160;</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&lt; std::string &gt; &amp;commandsList, const <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a95899d82f77288a43a28dd24d0fa687a">MessageListener</a> &amp;listener)</td></tr>
-<tr class="memdesc:ad8e56ab49dbe9b4960d454f8b408bf13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers listener which receives all messages with commands (messages with leading '/' char). <a href="#ad8e56ab49dbe9b4960d454f8b408bf13">More...</a><br /></td></tr>
-<tr class="separator:ad8e56ab49dbe9b4960d454f8b408bf13"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a5bed996221f047ec0469ae19e7bd00eb"><td class="memItemLeft" align="right" valign="top">void&#160;</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> &amp;listener)</td></tr>
-<tr class="memdesc:a5bed996221f047ec0469ae19e7bd00eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers listener which receives all messages with commands (messages with leading '/' char) which haven't been handled by other listeners. <a href="#a5bed996221f047ec0469ae19e7bd00eb">More...</a><br /></td></tr>
-<tr class="separator:a5bed996221f047ec0469ae19e7bd00eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a22e70b8493ea455e70734a36968f3d55"><td class="memItemLeft" align="right" valign="top">void&#160;</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> &amp;listener)</td></tr>
-<tr class="memdesc:a22e70b8493ea455e70734a36968f3d55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers listener which receives all messages without commands (messages with no leading '/' char) <a href="#a22e70b8493ea455e70734a36968f3d55">More...</a><br /></td></tr>
-<tr class="separator:a22e70b8493ea455e70734a36968f3d55"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a9d3f31225ea84af8cb47ab2a53186ef0"><td class="memItemLeft" align="right" valign="top">void&#160;</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#a2c0338bc5cc3c1654d0e3f0dac0ab8a6">InlineQueryListener</a> &amp;listener)</td></tr>
-<tr class="memdesc:a9d3f31225ea84af8cb47ab2a53186ef0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers listener which receives all the inline query. <a href="#a9d3f31225ea84af8cb47ab2a53186ef0">More...</a><br /></td></tr>
-<tr class="separator:a9d3f31225ea84af8cb47ab2a53186ef0"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a7397520ff294c863b306142e29030482"><td class="memItemLeft" align="right" valign="top">void&#160;</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#a5348beecf29bdf52c7d21985668bca93">ChosenInlineResultListener</a> &amp;listener)</td></tr>
-<tr class="memdesc:a7397520ff294c863b306142e29030482"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers listener which receives all the chosen inline result. <a href="#a7397520ff294c863b306142e29030482">More...</a><br /></td></tr>
-<tr class="separator:a7397520ff294c863b306142e29030482"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a3ec551ffdcf5be1b9b39ed081ea078d4"><td class="memItemLeft" align="right" valign="top">void&#160;</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#a44f1bbafcca84f78f82dc0ef1801619a">CallbackQueryListener</a> &amp;listener)</td></tr>
-<tr class="separator:a3ec551ffdcf5be1b9b39ed081ea078d4"><td class="memSeparator" colspan="2">&#160;</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>Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00045">45</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 class="anchor" id="a44f1bbafcca84f78f82dc0ef1801619a"></a>
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">typedef std::function&lt;void (const <a class="el" href="class_tg_bot_1_1_callback_query.html#a5a5e4f8368bd95ba214e68cde5d1c7c0">CallbackQuery::Ptr</a>)&gt; <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a44f1bbafcca84f78f82dc0ef1801619a">TgBot::EventBroadcaster::CallbackQueryListener</a></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00053">53</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p>
-
-</div>
-</div>
-<a class="anchor" id="a5348beecf29bdf52c7d21985668bca93"></a>
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">typedef std::function&lt;void (const <a class="el" href="class_tg_bot_1_1_chosen_inline_result.html#ad4b7edd30fd0d876fa99493fe19b3247">ChosenInlineResult::Ptr</a>)&gt; <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a5348beecf29bdf52c7d21985668bca93">TgBot::EventBroadcaster::ChosenInlineResultListener</a></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>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 class="anchor" id="a2c0338bc5cc3c1654d0e3f0dac0ab8a6"></a>
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">typedef std::function&lt;void (const <a class="el" href="class_tg_bot_1_1_inline_query.html#a82b36b38b3587e6a721b6fa579759b0c">InlineQuery::Ptr</a>)&gt; <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a2c0338bc5cc3c1654d0e3f0dac0ab8a6">TgBot::EventBroadcaster::InlineQueryListener</a></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>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 class="anchor" id="a95899d82f77288a43a28dd24d0fa687a"></a>
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">typedef std::function&lt;void (const <a class="el" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a>)&gt; <a class="el" href="class_tg_bot_1_1_event_broadcaster.html#a95899d82f77288a43a28dd24d0fa687a">TgBot::EventBroadcaster::MessageListener</a></td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-<p>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>
-<h2 class="groupheader">Member Function Documentation</h2>
-<a class="anchor" id="a21adc85e9ed2a08a186423a5231342a9"></a>
-<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#a95899d82f77288a43a28dd24d0fa687a">MessageListener</a> &amp;&#160;</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>Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00059">59</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p>
-
-</div>
-</div>
-<a class="anchor" id="a3ec551ffdcf5be1b9b39ed081ea078d4"></a>
-<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#a44f1bbafcca84f78f82dc0ef1801619a">CallbackQueryListener</a> &amp;&#160;</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>Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00116">116</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p>
-
-</div>
-</div>
-<a class="anchor" id="a7397520ff294c863b306142e29030482"></a>
-<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#a5348beecf29bdf52c7d21985668bca93">ChosenInlineResultListener</a> &amp;&#160;</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>Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00112">112</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p>
-
-</div>
-</div>
-<a class="anchor" id="a13e4a906203fe43a950f1420b68c7583"></a>
-<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 &amp;&#160;</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#a95899d82f77288a43a28dd24d0fa687a">MessageListener</a> &amp;&#160;</td>
- <td class="paramname"><em>listener</em>&#160;</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>Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00068">68</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p>
-
-</div>
-</div>
-<a class="anchor" id="ad8e56ab49dbe9b4960d454f8b408bf13"></a>
-<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&lt; std::string &gt; &amp;&#160;</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> &amp;&#160;</td>
- <td class="paramname"><em>listener</em>&#160;</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>Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00077">77</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p>
-
-</div>
-</div>
-<a class="anchor" id="a9d3f31225ea84af8cb47ab2a53186ef0"></a>
-<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#a2c0338bc5cc3c1654d0e3f0dac0ab8a6">InlineQueryListener</a> &amp;&#160;</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>Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00104">104</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p>
-
-</div>
-</div>
-<a class="anchor" id="a22e70b8493ea455e70734a36968f3d55"></a>
-<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#a95899d82f77288a43a28dd24d0fa687a">MessageListener</a> &amp;&#160;</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>Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00096">96</a> of file <a class="el" href="_event_broadcaster_8h_source.html">EventBroadcaster.h</a>.</p>
-
-</div>
-</div>
-<a class="anchor" id="a5bed996221f047ec0469ae19e7bd00eb"></a>
-<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#a95899d82f77288a43a28dd24d0fa687a">MessageListener</a> &amp;&#160;</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>Definition at line <a class="el" href="_event_broadcaster_8h_source.html#l00088">88</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 Fri Jun 22 2018 22:14:16 for tgbot-cpp by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
- </ul>
-</div>
-</body>
-</html>