209 lines
		
	
	
		
			26 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			209 lines
		
	
	
		
			26 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!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.6"/>
 | 
						|
<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>
 | 
						|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
 | 
						|
<script type="text/javascript" src="resize.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/search.js"></script>
 | 
						|
<script type="text/javascript">
 | 
						|
  $(document).ready(function() { searchBox.OnSelectItem(0); });
 | 
						|
</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 style="padding-left: 0.5em;">
 | 
						|
   <div id="projectname">LibTgBotPP
 | 
						|
   </div>
 | 
						|
  </td>
 | 
						|
 </tr>
 | 
						|
 </tbody>
 | 
						|
</table>
 | 
						|
</div>
 | 
						|
<!-- end header part -->
 | 
						|
<!-- Generated by Doxygen 1.8.6 -->
 | 
						|
<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 Page</span></a></li>
 | 
						|
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
 | 
						|
      <li><a href="annotated.html"><span>Classes</span></a></li>
 | 
						|
      <li class="current"><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="files.html"><span>File List</span></a></li>
 | 
						|
      <li><a href="globals.html"><span>File 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('TelegramBot_8h_source.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)">
 | 
						|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Macros</a></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="headertitle">
 | 
						|
<div class="title">TelegramBot.h</div>  </div>
 | 
						|
</div><!--header-->
 | 
						|
<div class="contents">
 | 
						|
<a href="TelegramBot_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="preprocessor">#ifndef _TELEGRAM_BOT_H_</span></div>
 | 
						|
<div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="preprocessor"></span><span class="preprocessor">#define _TELEGRAM_BOT_H_</span></div>
 | 
						|
<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="preprocessor"></span></div>
 | 
						|
<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="preprocessor">#include <string></span></div>
 | 
						|
<div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="preprocessor">#include <map></span></div>
 | 
						|
<div class="line"><a name="l00006"></a><span class="lineno">    6</span> </div>
 | 
						|
<div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="preprocessor">#include <curl/curl.h></span></div>
 | 
						|
<div class="line"><a name="l00008"></a><span class="lineno">    8</span> <span class="preprocessor">#include <json/json.h></span></div>
 | 
						|
<div class="line"><a name="l00009"></a><span class="lineno">    9</span> </div>
 | 
						|
<div class="line"><a name="l00010"></a><span class="lineno">   10</span> <span class="preprocessor">#include <<a class="code" href="Message_8h.html">Telegram/Message.h</a>></span></div>
 | 
						|
<div class="line"><a name="l00011"></a><span class="lineno">   11</span> </div>
 | 
						|
<div class="line"><a name="l00012"></a><span class="lineno">   12</span> <span class="keyword">namespace </span>Telegram {</div>
 | 
						|
<div class="line"><a name="l00013"></a><span class="lineno">   13</span> </div>
 | 
						|
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="namespaceTelegram.html#a97c1241696e3250bf462adae6b65a563">   14</a></span>   <span class="keyword">class </span><a class="code" href="classTelegram_1_1TelegramBot.html">TelegramBot</a>;</div>
 | 
						|
<div class="line"><a name="l00015"></a><span class="lineno">   15</span> </div>
 | 
						|
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>   <span class="comment">// Typedef for callbacks</span></div>
 | 
						|
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>   <span class="keyword">typedef</span> std::vector<std::string> <a class="code" href="namespaceTelegram.html#a97c1241696e3250bf462adae6b65a563">TCommandLine</a>;</div>
 | 
						|
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="namespaceTelegram.html#a91fee4a272faa7eb5f1aeb68ed0b54a4">   18</a></span>   <span class="keyword">typedef</span> std::string(*<a class="code" href="namespaceTelegram.html#a91fee4a272faa7eb5f1aeb68ed0b54a4">CommandCallback</a>)(<a class="code" href="classTelegram_1_1TelegramBot.html">TelegramBot</a>*, <a class="code" href="namespaceTelegram.html#a97c1241696e3250bf462adae6b65a563">TCommandLine</a>);</div>
 | 
						|
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="structTelegram_1_1TCommand.html">   19</a></span>   <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
 | 
						|
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="structTelegram_1_1TCommand.html#a1c051d162e478b9f98efafbeeed19f9b">   20</a></span>     std::string <a class="code" href="structTelegram_1_1TCommand.html#a1c051d162e478b9f98efafbeeed19f9b">command</a>;</div>
 | 
						|
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="structTelegram_1_1TCommand.html#a3f2c8ecbfd34be25baa577afee2e6e52">   21</a></span>     <a class="code" href="namespaceTelegram.html#a91fee4a272faa7eb5f1aeb68ed0b54a4">CommandCallback</a> <a class="code" href="structTelegram_1_1TCommand.html#a3f2c8ecbfd34be25baa577afee2e6e52">callback</a>;</div>
 | 
						|
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="structTelegram_1_1TCommand.html#a867f39a193fc9362da5b7111a655ae2b">   22</a></span>     std::string <a class="code" href="structTelegram_1_1TCommand.html#a867f39a193fc9362da5b7111a655ae2b">help_text</a>;</div>
 | 
						|
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>   } <a class="code" href="structTelegram_1_1TCommand.html">TCommand</a>;</div>
 | 
						|
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="namespaceTelegram.html#ad82f4bcddd3c7921e8842bb30170a1c2">   24</a></span>   <span class="keyword">typedef</span> std::map<std::string, TCommand> <a class="code" href="namespaceTelegram.html#ad82f4bcddd3c7921e8842bb30170a1c2">TCommandMap</a>;</div>
 | 
						|
<div class="line"><a name="l00025"></a><span class="lineno">   25</span> </div>
 | 
						|
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html">   26</a></span>   <span class="keyword">class </span><a class="code" href="classTelegram_1_1TelegramBot.html">TelegramBot</a> {</div>
 | 
						|
<div class="line"><a name="l00027"></a><span class="lineno">   27</span> </div>
 | 
						|
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>   <span class="keyword">public</span>:</div>
 | 
						|
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>     <a class="code" href="classTelegram_1_1TelegramBot.html#a99b561e695953e6b69a3ddf6937a4811">TelegramBot</a>();</div>
 | 
						|
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>     <a class="code" href="classTelegram_1_1TelegramBot.html#a99b561e695953e6b69a3ddf6937a4811">TelegramBot</a>(std::string);</div>
 | 
						|
<div class="line"><a name="l00031"></a><span class="lineno">   31</span> </div>
 | 
						|
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>     <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1TelegramBot.html#a398bd76186e27d514afd835c5437c6ed">addCommand</a>(<a class="code" href="structTelegram_1_1TCommand.html">TCommand</a>);</div>
 | 
						|
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>     <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1TelegramBot.html#aabd1a825b1d7f127f15bf336b985d70d">setWebhook</a>(std::string);</div>
 | 
						|
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>     <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1TelegramBot.html#af6fbb842f679b33dd8a60f94f82d7c81">processMessage</a>(std::string);</div>
 | 
						|
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>     <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1TelegramBot.html#a1645dae5fdfb1437bb8976f44c237563">sendMessage</a>(std::string, Json::Int64);</div>
 | 
						|
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>     <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1TelegramBot.html#a1645dae5fdfb1437bb8976f44c237563">sendMessage</a>(std::string, std::string);</div>
 | 
						|
<div class="line"><a name="l00037"></a><span class="lineno">   37</span> </div>
 | 
						|
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>     <a class="code" href="classTelegram_1_1Message.html">Telegram::Message</a> *<a class="code" href="classTelegram_1_1TelegramBot.html#a7c54766f656974b35f03ea510d7b6a4f">getMessage</a>();</div>
 | 
						|
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>     std::map<std::string, TCommand> <a class="code" href="classTelegram_1_1TelegramBot.html#aae9aba06108ce34f9766199c6588e1d6">getCommandMap</a>();</div>
 | 
						|
<div class="line"><a name="l00040"></a><span class="lineno">   40</span> </div>
 | 
						|
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>     <span class="comment">// Callback methods</span></div>
 | 
						|
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>     <span class="comment">/*</span></div>
 | 
						|
<div class="line"><a name="l00043"></a><span class="lineno">   43</span> <span class="comment">    std::string start(Telegram::TelegramBot, tvCommandLine);</span></div>
 | 
						|
<div class="line"><a name="l00044"></a><span class="lineno">   44</span> <span class="comment">    std::string help(tvCommandLine);</span></div>
 | 
						|
<div class="line"><a name="l00045"></a><span class="lineno">   45</span> <span class="comment">    std::string whoami(tvCommandLine);</span></div>
 | 
						|
<div class="line"><a name="l00046"></a><span class="lineno">   46</span> <span class="comment">    std::string loadavg(tvCommandLine);</span></div>
 | 
						|
<div class="line"><a name="l00047"></a><span class="lineno">   47</span> <span class="comment">    std::string proc(tvCommandLine);</span></div>
 | 
						|
<div class="line"><a name="l00048"></a><span class="lineno">   48</span> <span class="comment">    */</span></div>
 | 
						|
<div class="line"><a name="l00049"></a><span class="lineno">   49</span> </div>
 | 
						|
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>   <span class="keyword">private</span>:</div>
 | 
						|
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html#a1ca971ccfb242f7b8656eca3ab7666dd">   51</a></span>     std::string <a class="code" href="classTelegram_1_1TelegramBot.html#a1ca971ccfb242f7b8656eca3ab7666dd">api_url</a>;</div>
 | 
						|
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html#a27ee4520baa0cf7f36ec6f13e69867a5">   52</a></span>     <a class="code" href="classTelegram_1_1Message.html">Telegram::Message</a> *<a class="code" href="classTelegram_1_1TelegramBot.html#a27ee4520baa0cf7f36ec6f13e69867a5">msg</a>;</div>
 | 
						|
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html#a4729f977e1d564326f0061c1417dc09c">   53</a></span>     <a class="code" href="namespaceTelegram.html#ad82f4bcddd3c7921e8842bb30170a1c2">TCommandMap</a> <a class="code" href="classTelegram_1_1TelegramBot.html#a4729f977e1d564326f0061c1417dc09c">command_map</a>;</div>
 | 
						|
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classTelegram_1_1TelegramBot.html#a33ce0cbad266e831c834aa2e3d854e5a">   54</a></span>     Json::Int64 <a class="code" href="classTelegram_1_1TelegramBot.html#a33ce0cbad266e831c834aa2e3d854e5a">chat_id</a>;</div>
 | 
						|
<div class="line"><a name="l00055"></a><span class="lineno">   55</span> </div>
 | 
						|
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>     <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1TelegramBot.html#ae0d0fe5d54afcc9e6ee16b3d4f8ae895">init</a>();</div>
 | 
						|
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>     <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1TelegramBot.html#a7e07f1ca99390958ef5c6c95cbf18258">apiRequest</a>(std::string, std::map<std::string, std::string>);</div>
 | 
						|
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>     <span class="keywordtype">void</span> <a class="code" href="classTelegram_1_1TelegramBot.html#a9ee0c2d12f906cb2e0a9b7fb2d7e45a5">apiRequestJson</a>(std::string, std::map<std::string, std::string>);</div>
 | 
						|
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>     std::string <a class="code" href="classTelegram_1_1TelegramBot.html#aed4dd1ce506259c0e82f0c46fe125ca4">processCommand</a>(std::string);</div>
 | 
						|
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>   };</div>
 | 
						|
<div class="line"><a name="l00061"></a><span class="lineno">   61</span> }</div>
 | 
						|
<div class="line"><a name="l00062"></a><span class="lineno">   62</span> </div>
 | 
						|
<div class="line"><a name="l00063"></a><span class="lineno">   63</span> <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> <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> <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< std::string, std::string >)</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< std::string, TCommand > 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< std::string, TCommand > 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< std::string > 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< std::string, std::string >)</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_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>
 | 
						|
</div>
 | 
						|
</body>
 | 
						|
</html>
 |