This commit is contained in:
Hauke Zühl
2016-05-02 14:20:18 +02:00
parent cdf5271db0
commit a95ada30db
189 changed files with 7284 additions and 675 deletions
+27 -27
View File
@@ -4,7 +4,7 @@
<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.6"/>
<title>LibTgBotPP: include/Telegram/TelegramBot.h Source File</title>
<title>LibTgBotPP: TelegramBot.h Source File</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>
@@ -168,38 +168,38 @@ $(document).ready(function(){initNavTree('TelegramBot_8h_source.html','');});
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;}</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_ae0d0fe5d54afcc9e6ee16b3d4f8ae895"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#ae0d0fe5d54afcc9e6ee16b3d4f8ae895">Telegram::TelegramBot::init</a></div><div class="ttdeci">void init()</div><div class="ttdef"><b>Definition:</b> TelegramBot.cc:94</div></div>
<div class="ttc" id="structTelegram_1_1TCommand_html_a1c051d162e478b9f98efafbeeed19f9b"><div class="ttname"><a href="structTelegram_1_1TCommand.html#a1c051d162e478b9f98efafbeeed19f9b">Telegram::TCommand::command</a></div><div class="ttdeci">std::string command</div><div class="ttdef"><b>Definition:</b> TelegramBot.h:20</div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a27ee4520baa0cf7f36ec6f13e69867a5"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a27ee4520baa0cf7f36ec6f13e69867a5">Telegram::TelegramBot::msg</a></div><div class="ttdeci">Telegram::Message * msg</div><div class="ttdef"><b>Definition:</b> TelegramBot.h:52</div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_ae0d0fe5d54afcc9e6ee16b3d4f8ae895"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#ae0d0fe5d54afcc9e6ee16b3d4f8ae895">Telegram::TelegramBot::init</a></div><div class="ttdeci">void init()</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00115">TelegramBot.cc:115</a></div></div>
<div class="ttc" id="structTelegram_1_1TCommand_html_a1c051d162e478b9f98efafbeeed19f9b"><div class="ttname"><a href="structTelegram_1_1TCommand.html#a1c051d162e478b9f98efafbeeed19f9b">Telegram::TCommand::command</a></div><div class="ttdeci">std::string command</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8h_source.html#l00020">TelegramBot.h:20</a></div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a27ee4520baa0cf7f36ec6f13e69867a5"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a27ee4520baa0cf7f36ec6f13e69867a5">Telegram::TelegramBot::msg</a></div><div class="ttdeci">Telegram::Message * msg</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8h_source.html#l00052">TelegramBot.h:52</a></div></div>
<div class="ttc" id="Message_8h_html"><div class="ttname"><a href="Message_8h.html">Message.h</a></div></div>
<div class="ttc" id="classTelegram_1_1Message_html"><div class="ttname"><a href="classTelegram_1_1Message.html">Telegram::Message</a></div><div class="ttdef"><b>Definition:</b> Message.h:27</div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a1645dae5fdfb1437bb8976f44c237563"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a1645dae5fdfb1437bb8976f44c237563">Telegram::TelegramBot::sendMessage</a></div><div class="ttdeci">void sendMessage(std::string, Json::Int64)</div><div class="ttdef"><b>Definition:</b> TelegramBot.cc:69</div></div>
<div class="ttc" id="structTelegram_1_1TCommand_html_a867f39a193fc9362da5b7111a655ae2b"><div class="ttname"><a href="structTelegram_1_1TCommand.html#a867f39a193fc9362da5b7111a655ae2b">Telegram::TCommand::help_text</a></div><div class="ttdeci">std::string help_text</div><div class="ttdef"><b>Definition:</b> TelegramBot.h:22</div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_aabd1a825b1d7f127f15bf336b985d70d"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#aabd1a825b1d7f127f15bf336b985d70d">Telegram::TelegramBot::setWebhook</a></div><div class="ttdeci">void setWebhook(std::string)</div><div class="ttdef"><b>Definition:</b> TelegramBot.cc:46</div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_af6fbb842f679b33dd8a60f94f82d7c81"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#af6fbb842f679b33dd8a60f94f82d7c81">Telegram::TelegramBot::processMessage</a></div><div class="ttdeci">void processMessage(std::string)</div><div class="ttdef"><b>Definition:</b> TelegramBot.cc:55</div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a7e07f1ca99390958ef5c6c95cbf18258"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a7e07f1ca99390958ef5c6c95cbf18258">Telegram::TelegramBot::apiRequest</a></div><div class="ttdeci">void apiRequest(std::string, std::map&lt; std::string, std::string &gt;)</div><div class="ttdef"><b>Definition:</b> TelegramBot.cc:100</div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_aae9aba06108ce34f9766199c6588e1d6"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#aae9aba06108ce34f9766199c6588e1d6">Telegram::TelegramBot::getCommandMap</a></div><div class="ttdeci">std::map&lt; std::string, TCommand &gt; getCommandMap()</div><div class="ttdef"><b>Definition:</b> TelegramBot.cc:88</div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_aed4dd1ce506259c0e82f0c46fe125ca4"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#aed4dd1ce506259c0e82f0c46fe125ca4">Telegram::TelegramBot::processCommand</a></div><div class="ttdeci">std::string processCommand(std::string)</div><div class="ttdef"><b>Definition:</b> TelegramBot.cc:162</div></div>
<div class="ttc" id="structTelegram_1_1TCommand_html"><div class="ttname"><a href="structTelegram_1_1TCommand.html">Telegram::TCommand</a></div><div class="ttdef"><b>Definition:</b> TelegramBot.h:19</div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a99b561e695953e6b69a3ddf6937a4811"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a99b561e695953e6b69a3ddf6937a4811">Telegram::TelegramBot::TelegramBot</a></div><div class="ttdeci">TelegramBot()</div><div class="ttdef"><b>Definition:</b> TelegramBot.cc:20</div></div>
<div class="ttc" id="structTelegram_1_1TCommand_html_a3f2c8ecbfd34be25baa577afee2e6e52"><div class="ttname"><a href="structTelegram_1_1TCommand.html#a3f2c8ecbfd34be25baa577afee2e6e52">Telegram::TCommand::callback</a></div><div class="ttdeci">CommandCallback callback</div><div class="ttdef"><b>Definition:</b> TelegramBot.h:21</div></div>
<div class="ttc" id="namespaceTelegram_html_a91fee4a272faa7eb5f1aeb68ed0b54a4"><div class="ttname"><a href="namespaceTelegram.html#a91fee4a272faa7eb5f1aeb68ed0b54a4">Telegram::CommandCallback</a></div><div class="ttdeci">std::string(* CommandCallback)(TelegramBot *, TCommandLine)</div><div class="ttdef"><b>Definition:</b> TelegramBot.h:18</div></div>
<div class="ttc" id="namespaceTelegram_html_ad82f4bcddd3c7921e8842bb30170a1c2"><div class="ttname"><a href="namespaceTelegram.html#ad82f4bcddd3c7921e8842bb30170a1c2">Telegram::TCommandMap</a></div><div class="ttdeci">std::map&lt; std::string, TCommand &gt; TCommandMap</div><div class="ttdef"><b>Definition:</b> TelegramBot.h:24</div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a4729f977e1d564326f0061c1417dc09c"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a4729f977e1d564326f0061c1417dc09c">Telegram::TelegramBot::command_map</a></div><div class="ttdeci">TCommandMap command_map</div><div class="ttdef"><b>Definition:</b> TelegramBot.h:53</div></div>
<div class="ttc" id="namespaceTelegram_html_a97c1241696e3250bf462adae6b65a563"><div class="ttname"><a href="namespaceTelegram.html#a97c1241696e3250bf462adae6b65a563">Telegram::TCommandLine</a></div><div class="ttdeci">std::vector&lt; std::string &gt; TCommandLine</div><div class="ttdef"><b>Definition:</b> TelegramBot.h:14</div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a398bd76186e27d514afd835c5437c6ed"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a398bd76186e27d514afd835c5437c6ed">Telegram::TelegramBot::addCommand</a></div><div class="ttdeci">void addCommand(TCommand)</div><div class="ttdef"><b>Definition:</b> TelegramBot.cc:32</div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a7c54766f656974b35f03ea510d7b6a4f"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a7c54766f656974b35f03ea510d7b6a4f">Telegram::TelegramBot::getMessage</a></div><div class="ttdeci">Telegram::Message * getMessage()</div><div class="ttdef"><b>Definition:</b> TelegramBot.cc:83</div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a33ce0cbad266e831c834aa2e3d854e5a"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a33ce0cbad266e831c834aa2e3d854e5a">Telegram::TelegramBot::chat_id</a></div><div class="ttdeci">Json::Int64 chat_id</div><div class="ttdef"><b>Definition:</b> TelegramBot.h:54</div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a9ee0c2d12f906cb2e0a9b7fb2d7e45a5"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a9ee0c2d12f906cb2e0a9b7fb2d7e45a5">Telegram::TelegramBot::apiRequestJson</a></div><div class="ttdeci">void apiRequestJson(std::string, std::map&lt; std::string, std::string &gt;)</div><div class="ttdef"><b>Definition:</b> TelegramBot.cc:135</div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a1ca971ccfb242f7b8656eca3ab7666dd"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a1ca971ccfb242f7b8656eca3ab7666dd">Telegram::TelegramBot::api_url</a></div><div class="ttdeci">std::string api_url</div><div class="ttdef"><b>Definition:</b> TelegramBot.h:51</div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html">Telegram::TelegramBot</a></div><div class="ttdef"><b>Definition:</b> TelegramBot.h:26</div></div>
<div class="ttc" id="classTelegram_1_1Message_html"><div class="ttname"><a href="classTelegram_1_1Message.html">Telegram::Message</a></div><div class="ttdef"><b>Definition:</b> <a href="Message_8h_source.html#l00027">Message.h:27</a></div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a1645dae5fdfb1437bb8976f44c237563"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a1645dae5fdfb1437bb8976f44c237563">Telegram::TelegramBot::sendMessage</a></div><div class="ttdeci">void sendMessage(std::string, Json::Int64)</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00090">TelegramBot.cc:90</a></div></div>
<div class="ttc" id="structTelegram_1_1TCommand_html_a867f39a193fc9362da5b7111a655ae2b"><div class="ttname"><a href="structTelegram_1_1TCommand.html#a867f39a193fc9362da5b7111a655ae2b">Telegram::TCommand::help_text</a></div><div class="ttdeci">std::string help_text</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8h_source.html#l00022">TelegramBot.h:22</a></div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_aabd1a825b1d7f127f15bf336b985d70d"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#aabd1a825b1d7f127f15bf336b985d70d">Telegram::TelegramBot::setWebhook</a></div><div class="ttdeci">void setWebhook(std::string)</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00060">TelegramBot.cc:60</a></div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_af6fbb842f679b33dd8a60f94f82d7c81"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#af6fbb842f679b33dd8a60f94f82d7c81">Telegram::TelegramBot::processMessage</a></div><div class="ttdeci">void processMessage(std::string)</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00074">TelegramBot.cc:74</a></div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a7e07f1ca99390958ef5c6c95cbf18258"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a7e07f1ca99390958ef5c6c95cbf18258">Telegram::TelegramBot::apiRequest</a></div><div class="ttdeci">void apiRequest(std::string, std::map&lt; std::string, std::string &gt;)</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00123">TelegramBot.cc:123</a></div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_aae9aba06108ce34f9766199c6588e1d6"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#aae9aba06108ce34f9766199c6588e1d6">Telegram::TelegramBot::getCommandMap</a></div><div class="ttdeci">std::map&lt; std::string, TCommand &gt; getCommandMap()</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00109">TelegramBot.cc:109</a></div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_aed4dd1ce506259c0e82f0c46fe125ca4"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#aed4dd1ce506259c0e82f0c46fe125ca4">Telegram::TelegramBot::processCommand</a></div><div class="ttdeci">std::string processCommand(std::string)</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00187">TelegramBot.cc:187</a></div></div>
<div class="ttc" id="structTelegram_1_1TCommand_html"><div class="ttname"><a href="structTelegram_1_1TCommand.html">Telegram::TCommand</a></div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8h_source.html#l00019">TelegramBot.h:19</a></div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a99b561e695953e6b69a3ddf6937a4811"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a99b561e695953e6b69a3ddf6937a4811">Telegram::TelegramBot::TelegramBot</a></div><div class="ttdeci">TelegramBot()</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00022">TelegramBot.cc:22</a></div></div>
<div class="ttc" id="structTelegram_1_1TCommand_html_a3f2c8ecbfd34be25baa577afee2e6e52"><div class="ttname"><a href="structTelegram_1_1TCommand.html#a3f2c8ecbfd34be25baa577afee2e6e52">Telegram::TCommand::callback</a></div><div class="ttdeci">CommandCallback callback</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8h_source.html#l00021">TelegramBot.h:21</a></div></div>
<div class="ttc" id="namespaceTelegram_html_a91fee4a272faa7eb5f1aeb68ed0b54a4"><div class="ttname"><a href="namespaceTelegram.html#a91fee4a272faa7eb5f1aeb68ed0b54a4">Telegram::CommandCallback</a></div><div class="ttdeci">std::string(* CommandCallback)(TelegramBot *, TCommandLine)</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8h_source.html#l00018">TelegramBot.h:18</a></div></div>
<div class="ttc" id="namespaceTelegram_html_ad82f4bcddd3c7921e8842bb30170a1c2"><div class="ttname"><a href="namespaceTelegram.html#ad82f4bcddd3c7921e8842bb30170a1c2">Telegram::TCommandMap</a></div><div class="ttdeci">std::map&lt; std::string, TCommand &gt; TCommandMap</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8h_source.html#l00024">TelegramBot.h:24</a></div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a4729f977e1d564326f0061c1417dc09c"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a4729f977e1d564326f0061c1417dc09c">Telegram::TelegramBot::command_map</a></div><div class="ttdeci">TCommandMap command_map</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8h_source.html#l00053">TelegramBot.h:53</a></div></div>
<div class="ttc" id="namespaceTelegram_html_a97c1241696e3250bf462adae6b65a563"><div class="ttname"><a href="namespaceTelegram.html#a97c1241696e3250bf462adae6b65a563">Telegram::TCommandLine</a></div><div class="ttdeci">std::vector&lt; std::string &gt; TCommandLine</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8h_source.html#l00014">TelegramBot.h:14</a></div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a398bd76186e27d514afd835c5437c6ed"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a398bd76186e27d514afd835c5437c6ed">Telegram::TelegramBot::addCommand</a></div><div class="ttdeci">void addCommand(TCommand)</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00044">TelegramBot.cc:44</a></div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a7c54766f656974b35f03ea510d7b6a4f"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a7c54766f656974b35f03ea510d7b6a4f">Telegram::TelegramBot::getMessage</a></div><div class="ttdeci">Telegram::Message * getMessage()</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00104">TelegramBot.cc:104</a></div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a33ce0cbad266e831c834aa2e3d854e5a"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a33ce0cbad266e831c834aa2e3d854e5a">Telegram::TelegramBot::chat_id</a></div><div class="ttdeci">Json::Int64 chat_id</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8h_source.html#l00054">TelegramBot.h:54</a></div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a9ee0c2d12f906cb2e0a9b7fb2d7e45a5"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a9ee0c2d12f906cb2e0a9b7fb2d7e45a5">Telegram::TelegramBot::apiRequestJson</a></div><div class="ttdeci">void apiRequestJson(std::string, std::map&lt; std::string, std::string &gt;)</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8cc_source.html#l00160">TelegramBot.cc:160</a></div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html_a1ca971ccfb242f7b8656eca3ab7666dd"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html#a1ca971ccfb242f7b8656eca3ab7666dd">Telegram::TelegramBot::api_url</a></div><div class="ttdeci">std::string api_url</div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8h_source.html#l00051">TelegramBot.h:51</a></div></div>
<div class="ttc" id="classTelegram_1_1TelegramBot_html"><div class="ttname"><a href="classTelegram_1_1TelegramBot.html">Telegram::TelegramBot</a></div><div class="ttdef"><b>Definition:</b> <a href="TelegramBot_8h_source.html#l00026">TelegramBot.h:26</a></div></div>
</div><!-- fragment --></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="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_039e4b39e16cfa52f3a26599d20c8f92.html">Telegram</a></li><li class="navelem"><a class="el" href="TelegramBot_8h.html">TelegramBot.h</a></li>
<li class="footer">Generated on Mon May 2 2016 10:12:40 for LibTgBotPP by
<li class="navelem"><a class="el" href="dir_d7ce4a79ae3c2a43a536554fcfb9dac1.html">include</a></li><li class="navelem"><a class="el" href="dir_cf80afe0fa85d59a60502dbf39c7bfaf.html">Telegram</a></li><li class="navelem"><a class="el" href="TelegramBot_8h.html">TelegramBot.h</a></li>
<li class="footer">Generated on Mon May 2 2016 14:19:24 for LibTgBotPP by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
</ul>