diff options
Diffstat (limited to 'docs/_api_8h_source.html')
-rw-r--r-- | docs/_api_8h_source.html | 175 |
1 files changed, 102 insertions, 73 deletions
diff --git a/docs/_api_8h_source.html b/docs/_api_8h_source.html index e9cd378..5ed6e9f 100644 --- a/docs/_api_8h_source.html +++ b/docs/_api_8h_source.html @@ -3,8 +3,7 @@ <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"/> +<meta name="generator" content="Doxygen 1.8.11"/> <title>tgbot-cpp: include/tgbot/Api.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> @@ -15,10 +14,14 @@ <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> @@ -36,19 +39,40 @@ </table> </div> <!-- end header part --> -<!-- Generated by Doxygen 1.8.13 --> +<!-- Generated by Doxygen 1.8.11 --> <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 id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.html"><span>Main 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><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> + </ul> + </div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> @@ -83,103 +107,108 @@ $(document).ready(function(){initNavTree('_api_8h_source.html','');}); <div class="title">Api.h</div> </div> </div><!--header--> <div class="contents"> -<a href="_api_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="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2015 Oleg Morozenkov</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a copy</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * of this software and associated documentation files (the "Software"), to deal</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * in the Software without restriction, including without limitation the rights</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * copies of the Software, and to permit persons to whom the Software is</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * furnished to do so, subject to the following conditions:</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> *</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * The above copyright notice and this permission notice shall be included in all</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * copies or substantial portions of the Software.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> *</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * SOFTWARE.</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> */</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#ifndef TGBOT_CPP_API_H</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#define TGBOT_CPP_API_H</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <boost/property_tree/ptree.hpp></span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="_http_req_arg_8h.html">tgbot/net/HttpReqArg.h</a>"</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "<a class="code" href="_user_8h.html">tgbot/types/User.h</a>"</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "<a class="code" href="_message_8h.html">tgbot/types/Message.h</a>"</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include "<a class="code" href="_generic_reply_8h.html">tgbot/types/GenericReply.h</a>"</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include "<a class="code" href="_input_file_8h.html">tgbot/types/InputFile.h</a>"</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include "<a class="code" href="_user_profile_photos_8h.html">tgbot/types/UserProfilePhotos.h</a>"</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include "<a class="code" href="_update_8h.html">tgbot/types/Update.h</a>"</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#include "<a class="code" href="_inline_query_result_8h.html">tgbot/types/InlineQueryResult.h</a>"</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#include "<a class="code" href="_venue_8h.html">tgbot/types/Venue.h</a>"</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include "<a class="code" href="_webhook_info_8h.html">tgbot/types/WebhookInfo.h</a>"</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#include "<a class="code" href="_chat_member_8h.html">tgbot/types/ChatMember.h</a>"</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#include "<a class="code" href="_sticker_set_8h.html">tgbot/types/StickerSet.h</a>"</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#include "<a class="code" href="_file_8h.html">tgbot/types/File.h</a>"</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#include "<a class="code" href="_input_media_8h.html">tgbot/types/InputMedia.h</a>"</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#include "<a class="code" href="_game_high_score_8h.html">tgbot/types/GameHighScore.h</a>"</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="namespace_tg_bot.html"> 47</a></span> <span class="keyword">namespace </span><a class="code" href="namespace_tg_bot.html">TgBot</a> {</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">class </span><a class="code" href="class_tg_bot_1_1_bot.html">Bot</a>;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="class_tg_bot_1_1_api.html"> 56</a></span> <span class="keyword">class </span><a class="code" href="class_tg_bot_1_1_api.html">Api</a> {</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="keyword">typedef</span> std::shared_ptr<std::vector<std::string>> StringArrayPtr;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="class_tg_bot_1_1_api.html#afb5d57ac6b56fe83e7894e3b686c3339"> 60</a></span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="class_tg_bot_1_1_bot.html">Bot</a>;</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> <span class="keyword">public</span>:</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="class_tg_bot_1_1_api.html#ac0e4615a8944c07e7db3811ee84f2a94">Api</a>(<span class="keyword">const</span> std::string& token);</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="class_tg_bot_1_1_user.html#ae6ea24aef677abaaf0fd7d60adf5be79">User::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a566fcf52400de18737110edd7ab01535">getMe</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ad0f68ec32e5878a9fe4f922cd4f13b68">sendMessage</a>(int64_t chatId, <span class="keyword">const</span> std::string& text, <span class="keywordtype">bool</span> disableWebPagePreview = <span class="keyword">false</span>, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#acf5818100f3529706d8aa888f3922594">forwardMessage</a>(int64_t chatId, int64_t fromChatId, int32_t messageId, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#abd83eabc02928c2d2ebbb9835c410ea8">sendPhoto</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> photo, <span class="keyword">const</span> std::string& caption = <span class="stringliteral">""</span>, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#abd83eabc02928c2d2ebbb9835c410ea8">sendPhoto</a>(int64_t chatId, <span class="keyword">const</span> std::string& photoId, <span class="keyword">const</span> std::string& caption = <span class="stringliteral">""</span>, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#aa4024dc69467d5028f85380f92a6d5e9">sendAudio</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> audio, <span class="keyword">const</span> std::string &caption = <span class="stringliteral">""</span>, int32_t duration = 0,</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keyword">const</span> std::string& performer = <span class="stringliteral">""</span>, <span class="keyword">const</span> std::string& title = <span class="stringliteral">""</span>, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#aa4024dc69467d5028f85380f92a6d5e9">sendAudio</a>(int64_t chatId, <span class="keyword">const</span> std::string& audioId, <span class="keyword">const</span> std::string &caption = <span class="stringliteral">""</span>, int32_t duration = 0,</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keyword">const</span> std::string& performer = <span class="stringliteral">""</span>, <span class="keyword">const</span> std::string& title = <span class="stringliteral">""</span>, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a1e2aa3324a8c18532261b7b57f045caf">sendDocument</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> document, <span class="keyword">const</span> std::string &caption = <span class="stringliteral">""</span>, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> </div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a1e2aa3324a8c18532261b7b57f045caf">sendDocument</a>(int64_t chatId, <span class="keyword">const</span> std::string& documentId, <span class="keyword">const</span> std::string &caption = <span class="stringliteral">""</span>, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ab7767c4474092f5fee78150394ae0ef2">sendSticker</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> sticker, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span> </div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ab7767c4474092f5fee78150394ae0ef2">sendSticker</a>(int64_t chatId, <span class="keyword">const</span> std::string& stickerId, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <a class="code" href="class_tg_bot_1_1_sticker_set.html#ad3c58f08ddacdb946507cd96a3d54421">StickerSet::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a270296c79f52985fca19cacf3ed75d2f">getStickerSet</a>(<span class="keyword">const</span> std::string& name) <span class="keyword">const</span>;</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  </div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <a class="code" href="class_tg_bot_1_1_file.html#ac47e9c73b9d762eef2322c0932c5a934">File::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a2d80bc4f88e797fa455c213eb18db012">uploadStickerFile</a>(int32_t userId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> pngSticker) <span class="keyword">const</span>;</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span> </div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a378064e036f99e8f2a9c5a70c5e2c33c">createNewStickerSet</a>(int32_t userId, <span class="keyword">const</span> std::string& name, <span class="keyword">const</span> std::string& title,</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> pngSticker, <span class="keyword">const</span> std::string& emojis, <span class="keywordtype">bool</span> containsMasks = <span class="keyword">false</span>, <a class="code" href="class_tg_bot_1_1_mask_position.html#a37edf3eefbf231ee8ab94a29425b3fe1">MaskPosition::Ptr</a> maskPosition = <span class="keyword">nullptr</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span> </div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a378064e036f99e8f2a9c5a70c5e2c33c">createNewStickerSet</a>(int32_t userId, <span class="keyword">const</span> std::string& name, <span class="keyword">const</span> std::string& title,</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keyword">const</span> std::string& pngSticker, <span class="keyword">const</span> std::string& emojis, <span class="keywordtype">bool</span> containsMasks = <span class="keyword">false</span>, <a class="code" href="class_tg_bot_1_1_mask_position.html#a37edf3eefbf231ee8ab94a29425b3fe1">MaskPosition::Ptr</a> maskPosition = <span class="keyword">nullptr</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a48af7fd639ee071eac165e49c75cc6d0">addStickerToSet</a>(int32_t userId, <span class="keyword">const</span> std::string& name, <span class="keyword">const</span> std::string& title,</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> pngSticker, <span class="keyword">const</span> std::string& emojis, <a class="code" href="class_tg_bot_1_1_mask_position.html#a37edf3eefbf231ee8ab94a29425b3fe1">MaskPosition::Ptr</a> maskPosition = <span class="keyword">nullptr</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span> </div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a48af7fd639ee071eac165e49c75cc6d0">addStickerToSet</a>(int32_t userId, <span class="keyword">const</span> std::string& name, <span class="keyword">const</span> std::string& title,</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="keyword">const</span> std::string& pngSticker, <span class="keyword">const</span> std::string& emojis, <a class="code" href="class_tg_bot_1_1_mask_position.html#a37edf3eefbf231ee8ab94a29425b3fe1">MaskPosition::Ptr</a> maskPosition = <span class="keyword">nullptr</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span> </div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a0b77fde611ecb916b5975a7ab9fa87f7">setStickerPositionInSet</a>(<span class="keyword">const</span> std::string& sticker, uint32_t position) <span class="keyword">const</span>;</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span> </div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#af63bf4b6ac63ad077abd7bb4056b3cc5">deleteStickerPositionInSet</a>(<span class="keyword">const</span> std::string& sticker) <span class="keyword">const</span>;</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span> </div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a8bec931040093bd1a9344041870f47f7">sendVideo</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> video, <span class="keywordtype">bool</span> supportsStreaming = <span class="keyword">false</span>, int32_t duration = 0, int32_t width = 0, int32_t height = 0, <span class="keyword">const</span> std::string& caption = <span class="stringliteral">""</span>,</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  int32_t replyToMessageId = 0, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span> </div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a8bec931040093bd1a9344041870f47f7">sendVideo</a>(int64_t chatId, <span class="keyword">const</span> std::string& videoId, <span class="keywordtype">bool</span> supportsStreaming = <span class="keyword">false</span>, int32_t duration = 0, int32_t width = 0, int32_t height = 0, <span class="keyword">const</span> std::string& caption = <span class="stringliteral">""</span>,</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  int32_t replyToMessageId = 0, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span> </div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#aafc9eac23e52cf9f0831b0b47386f44d">sendVideoNote</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> videoNote, int64_t replyToMessageId = 0, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>,</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  int32_t duration = 0, int32_t length = 0, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a>());</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span> </div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#aafc9eac23e52cf9f0831b0b47386f44d">sendVideoNote</a>(int64_t chatId, <span class="keyword">const</span> std::string& videoNote, int64_t replyToMessageId = 0, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>,</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  int32_t duration = 0, int32_t length = 0, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a>());</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span> </div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  std::vector<Message::Ptr> <a class="code" href="class_tg_bot_1_1_api.html#a3dad69c5211708ec8581f2bd6f3265bc">sendMediaGroup</a>(int64_t chatId, <span class="keyword">const</span> std::vector<InputMedia::Ptr>& media,</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>, int32_t replyToMessageId = 0) <span class="keyword">const</span>;</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span> </div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a80bfd115a9308c6fb0015b611cf8c5ae">sendVoice</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> voice, <span class="keyword">const</span> std::string& caption = <span class="stringliteral">""</span>, <span class="keywordtype">int</span> duration = 0, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span> </div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a80bfd115a9308c6fb0015b611cf8c5ae">sendVoice</a>(int64_t chatId, <span class="keyword">const</span> std::string& voiceId, <span class="keyword">const</span> std::string& caption = <span class="stringliteral">""</span>, <span class="keywordtype">int</span> duration = 0, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span> </div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a9d5086f523b570a9a6a973abdb15a6b0">sendGame</a>(int64_t chatId, <span class="keyword">const</span> std::string& gameShortName, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_inline_keyboard_markup.html#a596873291582fb23cfbe6b62e20df8e7">InlineKeyboardMarkup::Ptr</a> replyMarkup = std::make_shared<InlineKeyboardMarkup>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span> </div><div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a5479c47ebc9f7385cb78e957351234cd">sendLocation</a>(int64_t chatId, <span class="keywordtype">float</span> latitude, <span class="keywordtype">float</span> longitude, uint32_t livePeriod = 0,</div><div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  int32_t replyToMessageId = 0, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00425"></a><span class="lineno"> 425</span> </div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a40937330bcd8dc6c3658c582194653fc">editMessageLiveLocation</a>(<span class="keywordtype">float</span> latitude, <span class="keywordtype">float</span> longitude, int64_t chatId = 0, int32_t messageId = 0,</div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  int32_t inlineMessageId = 0, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_inline_keyboard_markup.html#a596873291582fb23cfbe6b62e20df8e7">InlineKeyboardMarkup::Ptr</a> replyMarkup = std::make_shared<InlineKeyboardMarkup>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span> </div><div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ad3751d4b049e8f7b1d845d041370df98">stopMessageLiveLocation</a>(int64_t chatId = 0, int32_t messageId = 0, int32_t inlineMessageId = 0,</div><div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_inline_keyboard_markup.html#a596873291582fb23cfbe6b62e20df8e7">InlineKeyboardMarkup::Ptr</a> replyMarkup = std::make_shared<InlineKeyboardMarkup>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00449"></a><span class="lineno"> 449</span> </div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span> </div><div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a3351e9ee5561453bfa61218ddce8be47">sendVenue</a>(int64_t chatId, <span class="keywordtype">float</span> latitude, <span class="keywordtype">float</span> longitude, <span class="keyword">const</span> std::string& title, <span class="keyword">const</span> std::string& address, <span class="keyword">const</span> std::string& foursquareId = <span class="stringliteral">""</span>,</div><div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>, int32_t replyToMessageId = 0, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00466"></a><span class="lineno"> 466</span> </div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a29f67a91434a7ce8b017f103419f23c4">sendContact</a>(int64_t chatId, <span class="keyword">const</span> std::string& phoneNumber, <span class="keyword">const</span> std::string& firstName, <span class="keyword">const</span> std::string& lastName = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>,</div><div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  int32_t replyToMessageId = 0, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00480"></a><span class="lineno"> 480</span> </div><div class="line"><a name="l00490"></a><span class="lineno"> 490</span>  <span class="keywordtype">void</span> <a class="code" href="class_tg_bot_1_1_api.html#a77fe17ad287f702bb021fc92575a0e2d">sendChatAction</a>(int64_t chatId, <span class="keyword">const</span> std::string& action) <span class="keyword">const</span>;</div><div class="line"><a name="l00491"></a><span class="lineno"> 491</span> </div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span>  <a class="code" href="class_tg_bot_1_1_user_profile_photos.html#a734352c5b115ea29e639f01462187d55">UserProfilePhotos::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#aa605f96bd5de1a3a432e14a160bac210">getUserProfilePhotos</a>(int32_t userId, int32_t offset = 0, int32_t limit = 100) <span class="keyword">const</span>;</div><div class="line"><a name="l00500"></a><span class="lineno"> 500</span> </div><div class="line"><a name="l00506"></a><span class="lineno"> 506</span>  <a class="code" href="class_tg_bot_1_1_file.html#ac47e9c73b9d762eef2322c0932c5a934">File::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ac50bdd50bf0cf5a211e699925759ebc1">getFile</a>(<span class="keyword">const</span> std::string &fileId) <span class="keyword">const</span>;</div><div class="line"><a name="l00507"></a><span class="lineno"> 507</span> </div><div class="line"><a name="l00513"></a><span class="lineno"> 513</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a28d6bda0f615ff1c7063905eb61b5cde">leaveChat</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00514"></a><span class="lineno"> 514</span> </div><div class="line"><a name="l00520"></a><span class="lineno"> 520</span>  <a class="code" href="class_tg_bot_1_1_chat.html#a9818e295b599a08b77abefb38de75e48">Chat::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ad042b4d7f03f45eb59acb68085faaa23">getChat</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00521"></a><span class="lineno"> 521</span> </div><div class="line"><a name="l00527"></a><span class="lineno"> 527</span>  std::vector<ChatMember::Ptr> <a class="code" href="class_tg_bot_1_1_api.html#a2fd133b562c8bcad74d4b76e4fdbc5b8">getChatAdministrators</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00528"></a><span class="lineno"> 528</span> </div><div class="line"><a name="l00534"></a><span class="lineno"> 534</span>  int32_t <a class="code" href="class_tg_bot_1_1_api.html#a018da546747f0d34a5fa3bdb6a715a07">getChatMembersCount</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00535"></a><span class="lineno"> 535</span> </div><div class="line"><a name="l00542"></a><span class="lineno"> 542</span>  <a class="code" href="class_tg_bot_1_1_chat_member.html#a7c14c867a129ac28396b680c79dc495d">ChatMember::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a648190cc90ed13172bc2327344d0e7f6">getChatMember</a>(int64_t chatId, int32_t userId) <span class="keyword">const</span>;</div><div class="line"><a name="l00543"></a><span class="lineno"> 543</span> </div><div class="line"><a name="l00550"></a><span class="lineno"> 550</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#aafb54206146f5b9510ef89026d0b8589">setChatStickerSet</a>(int64_t chatId, <span class="keyword">const</span> std::string& stickerSetName) <span class="keyword">const</span>;</div><div class="line"><a name="l00551"></a><span class="lineno"> 551</span> </div><div class="line"><a name="l00557"></a><span class="lineno"> 557</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a885e70f75a1def9b953290aea2991c42">deleteChatStickerSet</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00558"></a><span class="lineno"> 558</span> </div><div class="line"><a name="l00559"></a><span class="lineno"> 559</span> </div><div class="line"><a name="l00569"></a><span class="lineno"> 569</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a2f73414941d8bb67ff3721a674274bf8">answerCallbackQuery</a>(<span class="keyword">const</span> std::string & callbackQueryId, <span class="keyword">const</span> std::string & text=<span class="stringliteral">""</span>, <span class="keywordtype">bool</span> showAlert=<span class="keyword">false</span>, <span class="keyword">const</span> std::string &url=<span class="stringliteral">""</span>, int32_t cacheTime=0) <span class="keyword">const</span>;</div><div class="line"><a name="l00570"></a><span class="lineno"> 570</span> </div><div class="line"><a name="l00582"></a><span class="lineno"> 582</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#aaf32b01ea203366959676afd98e8d7e2">editMessageText</a>(<span class="keyword">const</span> std::string& text, int64_t chatId=0, int32_t messageId=0, <span class="keyword">const</span> std::string& inlineMessageId=<span class="stringliteral">""</span>,</div><div class="line"><a name="l00583"></a><span class="lineno"> 583</span>  <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableWebPagePreview = <span class="keyword">false</span>, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00584"></a><span class="lineno"> 584</span> </div><div class="line"><a name="l00594"></a><span class="lineno"> 594</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a979612d47e46ed29bc9d2e7ab1addb7e">editMessageCaption</a>(int64_t chatId = 0, int32_t messageId = 0, <span class="keyword">const</span> std::string& caption = <span class="stringliteral">""</span>,</div><div class="line"><a name="l00595"></a><span class="lineno"> 595</span>  <span class="keyword">const</span> std::string& inlineMessageId = <span class="stringliteral">""</span>, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00596"></a><span class="lineno"> 596</span> </div><div class="line"><a name="l00605"></a><span class="lineno"> 605</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a1dd8b4abfb95233c70b7436515ca680d">editMessageReplyMarkup</a>(int64_t chatId = 0, int32_t messageId = 0, <span class="keyword">const</span> std::string& inlineMessageId = <span class="stringliteral">""</span>,</div><div class="line"><a name="l00606"></a><span class="lineno"> 606</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00607"></a><span class="lineno"> 607</span> </div><div class="line"><a name="l00613"></a><span class="lineno"> 613</span>  <span class="keywordtype">void</span> <a class="code" href="class_tg_bot_1_1_api.html#a963570ff375bced1e5b21246082365f1">deleteMessage</a>(int64_t chatId, int32_t messageId) <span class="keyword">const</span>;</div><div class="line"><a name="l00614"></a><span class="lineno"> 614</span> </div><div class="line"><a name="l00627"></a><span class="lineno"> 627</span>  std::vector<Update::Ptr> <a class="code" href="class_tg_bot_1_1_api.html#abd10abcfaf859c63cab0526b8c9179c9">getUpdates</a>(int32_t offset = 0, int32_t limit = 100, int32_t timeout = 0, <span class="keyword">const</span> StringArrayPtr &allowedUpdates = <span class="keyword">nullptr</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00628"></a><span class="lineno"> 628</span> </div><div class="line"><a name="l00639"></a><span class="lineno"> 639</span>  <span class="keywordtype">void</span> <a class="code" href="class_tg_bot_1_1_api.html#af961a33f53579fee24090059dab328ea">setWebhook</a>(<span class="keyword">const</span> std::string& url = <span class="stringliteral">""</span>, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> certificate = <span class="keyword">nullptr</span>, int32_t maxConnection = 40, <span class="keyword">const</span> StringArrayPtr &allowedUpdates = <span class="keyword">nullptr</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00640"></a><span class="lineno"> 640</span> </div><div class="line"><a name="l00648"></a><span class="lineno"> 648</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a8fbfde4234553c478987746c43b08e62">deleteWebhook</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00649"></a><span class="lineno"> 649</span> </div><div class="line"><a name="l00658"></a><span class="lineno"> 658</span>  <a class="code" href="class_tg_bot_1_1_webhook_info.html#a2280093713d1304207d8bba2204648d6">WebhookInfo::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a43bf35783ec4f9a03e46925e36fda24c">getWebhookInfo</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00659"></a><span class="lineno"> 659</span> </div><div class="line"><a name="l00672"></a><span class="lineno"> 672</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a430f9e036859250345d2125b7688a1f9">answerInlineQuery</a>(<span class="keyword">const</span> std::string& inlineQueryId, <span class="keyword">const</span> std::vector<InlineQueryResult::Ptr>& results,</div><div class="line"><a name="l00673"></a><span class="lineno"> 673</span>  int32_t cacheTime = 300, <span class="keywordtype">bool</span> isPersonal = <span class="keyword">false</span>, <span class="keyword">const</span> std::string& nextOffset = <span class="stringliteral">""</span>, <span class="keyword">const</span> std::string& switchPmText = <span class="stringliteral">""</span>, <span class="keyword">const</span> std::string& switchPmParameter = <span class="stringliteral">""</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00674"></a><span class="lineno"> 674</span> </div><div class="line"><a name="l00682"></a><span class="lineno"> 682</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a3b85e962cd7ed5df9f4204b8424aabef">kickChatMember</a>(int64_t chatId, int32_t userId, uint64_t untilDate = 0) <span class="keyword">const</span>;</div><div class="line"><a name="l00683"></a><span class="lineno"> 683</span> </div><div class="line"><a name="l00690"></a><span class="lineno"> 690</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a44ea670c4eecdf100f60be3c90911eec">unbanChatMember</a>(int64_t chatId, int32_t userId) <span class="keyword">const</span>;</div><div class="line"><a name="l00691"></a><span class="lineno"> 691</span> </div><div class="line"><a name="l00703"></a><span class="lineno"> 703</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#ad77e4687f7536606890a3db42ff5de1f">restrictChatMember</a>(int64_t chatId, int32_t userId, uint64_t untilDate = 0, <span class="keywordtype">bool</span> canSendMessages = <span class="keyword">false</span>,</div><div class="line"><a name="l00704"></a><span class="lineno"> 704</span>  <span class="keywordtype">bool</span> canSendMediaMessages = <span class="keyword">false</span>, <span class="keywordtype">bool</span> canSendOtherMessages = <span class="keyword">false</span>, <span class="keywordtype">bool</span> canAddWebPagePreviews = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00705"></a><span class="lineno"> 705</span> </div><div class="line"><a name="l00720"></a><span class="lineno"> 720</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a4a701223b6a834b594e216a80695d300">promoteChatMember</a>(int64_t chatId, int32_t userId, <span class="keywordtype">bool</span> canChangeInfo = <span class="keyword">false</span>, <span class="keywordtype">bool</span> canPostMessages = <span class="keyword">false</span>,</div><div class="line"><a name="l00721"></a><span class="lineno"> 721</span>  <span class="keywordtype">bool</span> canEditMessages = <span class="keyword">false</span>, <span class="keywordtype">bool</span> canDeleteMessages = <span class="keyword">false</span>, <span class="keywordtype">bool</span> canInviteUsers = <span class="keyword">false</span>, <span class="keywordtype">bool</span> canPinMessages = <span class="keyword">false</span>, <span class="keywordtype">bool</span> canPromoteMembers = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00722"></a><span class="lineno"> 722</span> </div><div class="line"><a name="l00728"></a><span class="lineno"> 728</span>  std::string <a class="code" href="class_tg_bot_1_1_api.html#a5b0cf2c9b99bd1376def02fb698b8076">exportChatInviteLink</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00729"></a><span class="lineno"> 729</span> </div><div class="line"><a name="l00739"></a><span class="lineno"> 739</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a958b5a97bddd5c2ff57df30788a4385b">setChatPhoto</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> photo) <span class="keyword">const</span>;</div><div class="line"><a name="l00740"></a><span class="lineno"> 740</span> </div><div class="line"><a name="l00749"></a><span class="lineno"> 749</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a61fa540a7db9597618b7fb15fe5095a0">deleteChatPhoto</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00750"></a><span class="lineno"> 750</span> </div><div class="line"><a name="l00760"></a><span class="lineno"> 760</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a43c91c467f45e4207968bf6cf1cb3a6e">setChatTitle</a>(int64_t chatId, <span class="keyword">const</span> std::string& title) <span class="keyword">const</span>;</div><div class="line"><a name="l00761"></a><span class="lineno"> 761</span> </div><div class="line"><a name="l00768"></a><span class="lineno"> 768</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#aa9a0592b9a6c3ffe0d05005292b90250">setChatDescription</a>(int64_t chatId, <span class="keyword">const</span> std::string& description) <span class="keyword">const</span>;</div><div class="line"><a name="l00769"></a><span class="lineno"> 769</span> </div><div class="line"><a name="l00777"></a><span class="lineno"> 777</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a84538c3c1ab19dc262b471edb361ad8d">pinChatMessage</a>(int64_t chatId, int32_t messageId, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00778"></a><span class="lineno"> 778</span> </div><div class="line"><a name="l00784"></a><span class="lineno"> 784</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#ae999adb4e101bdf95cdee77867e084fc">unpinChatMessage</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00785"></a><span class="lineno"> 785</span> </div><div class="line"><a name="l00800"></a><span class="lineno"> 800</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a9cec040119c296aa991a53a77d3cd8c4">setGameScore</a>(int32_t userId, int32_t score, <span class="keywordtype">bool</span> force = <span class="keyword">false</span>, <span class="keywordtype">bool</span> disableEditMessage = <span class="keyword">false</span>,</div><div class="line"><a name="l00801"></a><span class="lineno"> 801</span>  int64_t chatId = 0, int32_t messageId = 0, <span class="keyword">const</span> std::string& inlineMessageId = <span class="stringliteral">""</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00802"></a><span class="lineno"> 802</span> </div><div class="line"><a name="l00814"></a><span class="lineno"> 814</span>  std::vector<GameHighScore::Ptr> <a class="code" href="class_tg_bot_1_1_api.html#a39064867aa8ebfa92495df478228796a">getGameHighScores</a>(int32_t userId, int32_t score, <span class="keywordtype">bool</span> force = <span class="keyword">false</span>,</div><div class="line"><a name="l00815"></a><span class="lineno"> 815</span>  <span class="keywordtype">bool</span> disableEditMessage = <span class="keyword">false</span>, int64_t chatId = 0, int32_t messageId = 0, <span class="keyword">const</span> std::string& inlineMessageId = <span class="stringliteral">""</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00816"></a><span class="lineno"> 816</span> </div><div class="line"><a name="l00817"></a><span class="lineno"> 817</span> </div><div class="line"><a name="l00824"></a><span class="lineno"> 824</span>  std::string <a class="code" href="class_tg_bot_1_1_api.html#aa60ec06b9171d94ef717f1ac03190f07">downloadFile</a>(<span class="keyword">const</span> std::string& filePath, <span class="keyword">const</span> std::vector<HttpReqArg>& args = std::vector<HttpReqArg>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00825"></a><span class="lineno"> 825</span> </div><div class="line"><a name="l00826"></a><span class="lineno"> 826</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00827"></a><span class="lineno"> 827</span>  boost::property_tree::ptree sendRequest(<span class="keyword">const</span> std::string& method, <span class="keyword">const</span> std::vector<HttpReqArg>& args = std::vector<HttpReqArg>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00828"></a><span class="lineno"> 828</span> </div><div class="line"><a name="l00829"></a><span class="lineno"> 829</span>  <span class="keyword">const</span> std::string _token;</div><div class="line"><a name="l00830"></a><span class="lineno"> 830</span> };</div><div class="line"><a name="l00831"></a><span class="lineno"> 831</span> </div><div class="line"><a name="l00832"></a><span class="lineno"> 832</span> }</div><div class="line"><a name="l00833"></a><span class="lineno"> 833</span> </div><div class="line"><a name="l00834"></a><span class="lineno"> 834</span> <span class="preprocessor">#endif //TGBOT_CPP_API_H</span></div><div class="ttc" id="class_tg_bot_1_1_api_html_ad042b4d7f03f45eb59acb68085faaa23"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ad042b4d7f03f45eb59acb68085faaa23">TgBot::Api::getChat</a></div><div class="ttdeci">Chat::Ptr getChat(int64_t chatId) const</div><div class="ttdoc">Use this method to get up to date information about the chat (current name of the user for one-on-one...</div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a80bfd115a9308c6fb0015b611cf8c5ae"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a80bfd115a9308c6fb0015b611cf8c5ae">TgBot::Api::sendVoice</a></div><div class="ttdeci">Message::Ptr sendVoice(int64_t chatId, const InputFile::Ptr voice, const std::string &caption="", int duration=0, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) const</div><div class="ttdoc">Use this method to send audio files, if you want Telegram clients to display the file as a playable v...</div></div> +<a href="_api_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="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2015 Oleg Morozenkov</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a copy</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * of this software and associated documentation files (the "Software"), to deal</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * in the Software without restriction, including without limitation the rights</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * copies of the Software, and to permit persons to whom the Software is</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * furnished to do so, subject to the following conditions:</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> *</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * The above copyright notice and this permission notice shall be included in all</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * copies or substantial portions of the Software.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> *</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * SOFTWARE.</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> */</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#ifndef TGBOT_CPP_API_H</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#define TGBOT_CPP_API_H</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <boost/property_tree/ptree.hpp></span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="_http_req_arg_8h.html">tgbot/net/HttpReqArg.h</a>"</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "<a class="code" href="_user_8h.html">tgbot/types/User.h</a>"</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "<a class="code" href="_message_8h.html">tgbot/types/Message.h</a>"</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include "<a class="code" href="_generic_reply_8h.html">tgbot/types/GenericReply.h</a>"</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include "<a class="code" href="_input_file_8h.html">tgbot/types/InputFile.h</a>"</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include "<a class="code" href="_user_profile_photos_8h.html">tgbot/types/UserProfilePhotos.h</a>"</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include "<a class="code" href="_update_8h.html">tgbot/types/Update.h</a>"</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#include "<a class="code" href="_inline_query_result_8h.html">tgbot/types/InlineQueryResult.h</a>"</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#include "<a class="code" href="_venue_8h.html">tgbot/types/Venue.h</a>"</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include "<a class="code" href="_webhook_info_8h.html">tgbot/types/WebhookInfo.h</a>"</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#include "<a class="code" href="_chat_member_8h.html">tgbot/types/ChatMember.h</a>"</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#include "<a class="code" href="_sticker_set_8h.html">tgbot/types/StickerSet.h</a>"</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#include "<a class="code" href="_file_8h.html">tgbot/types/File.h</a>"</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#include "<a class="code" href="_input_media_8h.html">tgbot/types/InputMedia.h</a>"</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#include "<a class="code" href="_game_high_score_8h.html">tgbot/types/GameHighScore.h</a>"</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#include "<a class="code" href="_labeled_price_8h.html">tgbot/types/LabeledPrice.h</a>"</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor">#include "<a class="code" href="_shipping_option_8h.html">tgbot/types/ShippingOption.h</a>"</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="namespace_tg_bot.html"> 49</a></span> <span class="keyword">namespace </span><a class="code" href="namespace_tg_bot.html">TgBot</a> {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">class </span><a class="code" href="class_tg_bot_1_1_bot.html">Bot</a>;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="class_tg_bot_1_1_api.html"> 58</a></span> <span class="keyword">class </span><a class="code" href="class_tg_bot_1_1_api.html">Api</a> {</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="keyword">typedef</span> std::shared_ptr<std::vector<std::string>> StringArrayPtr;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_tg_bot_1_1_api.html#afb5d57ac6b56fe83e7894e3b686c3339"> 62</a></span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="class_tg_bot_1_1_bot.html">Bot</a>;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="class_tg_bot_1_1_api.html#ac0e4615a8944c07e7db3811ee84f2a94">Api</a>(<span class="keyword">const</span> std::string& token);</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="class_tg_bot_1_1_user.html#ae6ea24aef677abaaf0fd7d60adf5be79">User::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#abf3e04fb3ea66e0d40c40cef3aa0d5c1">getMe</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a06a2a2462af86f236e6524d9dc4c3e0a">sendMessage</a>(int64_t chatId, <span class="keyword">const</span> std::string& text, <span class="keywordtype">bool</span> disableWebPagePreview = <span class="keyword">false</span>, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#abe7060a706003a13dfc3951cad0af9ed">forwardMessage</a>(int64_t chatId, int64_t fromChatId, int32_t messageId, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ac9731240a7670422209b62f84d8d3b88">sendPhoto</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> photo, <span class="keyword">const</span> std::string& caption = <span class="stringliteral">""</span>, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ac9731240a7670422209b62f84d8d3b88">sendPhoto</a>(int64_t chatId, <span class="keyword">const</span> std::string& photoId, <span class="keyword">const</span> std::string& caption = <span class="stringliteral">""</span>, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#aa0c9cd2ca4282f883b9b340de039dae6">sendAudio</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> audio, <span class="keyword">const</span> std::string &caption = <span class="stringliteral">""</span>, int32_t duration = 0,</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keyword">const</span> std::string& performer = <span class="stringliteral">""</span>, <span class="keyword">const</span> std::string& title = <span class="stringliteral">""</span>, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#aa0c9cd2ca4282f883b9b340de039dae6">sendAudio</a>(int64_t chatId, <span class="keyword">const</span> std::string& audioId, <span class="keyword">const</span> std::string &caption = <span class="stringliteral">""</span>, int32_t duration = 0,</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keyword">const</span> std::string& performer = <span class="stringliteral">""</span>, <span class="keyword">const</span> std::string& title = <span class="stringliteral">""</span>, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ad9985830c9232994f87fa0d7d31a3d8a">sendDocument</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> document, <span class="keyword">const</span> std::string &caption = <span class="stringliteral">""</span>, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ad9985830c9232994f87fa0d7d31a3d8a">sendDocument</a>(int64_t chatId, <span class="keyword">const</span> std::string& documentId, <span class="keyword">const</span> std::string &caption = <span class="stringliteral">""</span>, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a7ce5b3735e59a6cc7fc75badabb05371">sendInvoice</a>(int64_t chatId, <span class="keyword">const</span> std::string& title, <span class="keyword">const</span> std::string& description, <span class="keyword">const</span> std::string& payload,</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keyword">const</span> std::string& providerToken, <span class="keyword">const</span> std::string& startParameter, <span class="keyword">const</span> std::string& currency, <span class="keyword">const</span> std::vector<LabeledPrice::Ptr>& prices,</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keyword">const</span> std::string& providerData = <span class="stringliteral">""</span>, <span class="keyword">const</span> std::string& photoUrl = <span class="stringliteral">""</span>, int32_t photoSize = 0,</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  int32_t photoWidth = 0, int32_t photoHeight = 0, <span class="keywordtype">bool</span> needName = <span class="keyword">false</span>,</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="keywordtype">bool</span> needPhoneNumber = <span class="keyword">false</span>, <span class="keywordtype">bool</span> needEmail = <span class="keyword">false</span>, <span class="keywordtype">bool</span> needShippingAddress = <span class="keyword">false</span>,</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordtype">bool</span> sendPhoneNumberToProvider = <span class="keyword">false</span>, <span class="keywordtype">bool</span> sendEmailToProvider = <span class="keyword">false</span>, <span class="keywordtype">bool</span> isFlexible = <span class="keyword">false</span>,</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  int32_t replyToMessageId = 0, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a2638761a2ac9a220fd6bb47185cfeff8">answerShippingQuery</a>(<span class="keyword">const</span> std::string& shippingQueryId, <span class="keywordtype">bool</span> ok, <span class="keyword">const</span> std::vector<ShippingOption::Ptr>& shippingOptions = std::vector<ShippingOption::Ptr>(), <span class="keyword">const</span> std::string& errorMessage = <span class="stringliteral">""</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> </div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a9b7cea0c518d27095803b1be9e769f7c">answerPreCheckoutQuery</a>(<span class="keyword">const</span> std::string& preCheckoutQueryId, <span class="keywordtype">bool</span> ok, <span class="keyword">const</span> std::string& errorMessage = <span class="stringliteral">""</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span> </div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a59567254a0b6b1650a2d947a777d7710">sendSticker</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> sticker, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span> </div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a59567254a0b6b1650a2d947a777d7710">sendSticker</a>(int64_t chatId, <span class="keyword">const</span> std::string& stickerId, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span> </div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <a class="code" href="class_tg_bot_1_1_sticker_set.html#ad3c58f08ddacdb946507cd96a3d54421">StickerSet::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a89bb062bdba276f1faa2b0d222718cb1">getStickerSet</a>(<span class="keyword">const</span> std::string& name) <span class="keyword">const</span>;</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span> </div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <a class="code" href="class_tg_bot_1_1_file.html#ac47e9c73b9d762eef2322c0932c5a934">File::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a910cdf6916c4526e8c3d449bebb55cf1">uploadStickerFile</a>(int32_t userId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> pngSticker) <span class="keyword">const</span>;</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> </div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#af67640a49edfa401ac72db694439fabb">createNewStickerSet</a>(int32_t userId, <span class="keyword">const</span> std::string& name, <span class="keyword">const</span> std::string& title,</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> pngSticker, <span class="keyword">const</span> std::string& emojis, <span class="keywordtype">bool</span> containsMasks = <span class="keyword">false</span>, <a class="code" href="class_tg_bot_1_1_mask_position.html#a37edf3eefbf231ee8ab94a29425b3fe1">MaskPosition::Ptr</a> maskPosition = <span class="keyword">nullptr</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span> </div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#af67640a49edfa401ac72db694439fabb">createNewStickerSet</a>(int32_t userId, <span class="keyword">const</span> std::string& name, <span class="keyword">const</span> std::string& title,</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <span class="keyword">const</span> std::string& pngSticker, <span class="keyword">const</span> std::string& emojis, <span class="keywordtype">bool</span> containsMasks = <span class="keyword">false</span>, <a class="code" href="class_tg_bot_1_1_mask_position.html#a37edf3eefbf231ee8ab94a29425b3fe1">MaskPosition::Ptr</a> maskPosition = <span class="keyword">nullptr</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span> </div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#aba162af7ac35baf2259b7c2e41b2ed52">addStickerToSet</a>(int32_t userId, <span class="keyword">const</span> std::string& name, <span class="keyword">const</span> std::string& title,</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> pngSticker, <span class="keyword">const</span> std::string& emojis, <a class="code" href="class_tg_bot_1_1_mask_position.html#a37edf3eefbf231ee8ab94a29425b3fe1">MaskPosition::Ptr</a> maskPosition = <span class="keyword">nullptr</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span> </div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#aba162af7ac35baf2259b7c2e41b2ed52">addStickerToSet</a>(int32_t userId, <span class="keyword">const</span> std::string& name, <span class="keyword">const</span> std::string& title,</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  <span class="keyword">const</span> std::string& pngSticker, <span class="keyword">const</span> std::string& emojis, <a class="code" href="class_tg_bot_1_1_mask_position.html#a37edf3eefbf231ee8ab94a29425b3fe1">MaskPosition::Ptr</a> maskPosition = <span class="keyword">nullptr</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span> </div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a6394ad645519b4faed3f4f64273d3ffd">setStickerPositionInSet</a>(<span class="keyword">const</span> std::string& sticker, uint32_t position) <span class="keyword">const</span>;</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span> </div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a4f052f6b5912c95ca7e2a98e19a49715">deleteStickerPositionInSet</a>(<span class="keyword">const</span> std::string& sticker) <span class="keyword">const</span>;</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span> </div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#acb86126bb7bc17af73350f09987b4e50">sendVideo</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> video, <span class="keywordtype">bool</span> supportsStreaming = <span class="keyword">false</span>, int32_t duration = 0, int32_t width = 0, int32_t height = 0, <span class="keyword">const</span> std::string& caption = <span class="stringliteral">""</span>,</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  int32_t replyToMessageId = 0, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span> </div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#acb86126bb7bc17af73350f09987b4e50">sendVideo</a>(int64_t chatId, <span class="keyword">const</span> std::string& videoId, <span class="keywordtype">bool</span> supportsStreaming = <span class="keyword">false</span>, int32_t duration = 0, int32_t width = 0, int32_t height = 0, <span class="keyword">const</span> std::string& caption = <span class="stringliteral">""</span>,</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  int32_t replyToMessageId = 0, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span> </div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#aafc9eac23e52cf9f0831b0b47386f44d">sendVideoNote</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> videoNote, int64_t replyToMessageId = 0, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>,</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  int32_t duration = 0, int32_t length = 0, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a>());</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span> </div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#aafc9eac23e52cf9f0831b0b47386f44d">sendVideoNote</a>(int64_t chatId, <span class="keyword">const</span> std::string& videoNote, int64_t replyToMessageId = 0, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>,</div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  int32_t duration = 0, int32_t length = 0, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a>());</div><div class="line"><a name="l00421"></a><span class="lineno"> 421</span> </div><div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  std::vector<Message::Ptr> <a class="code" href="class_tg_bot_1_1_api.html#a2028955491cb7057f5150634583e4ac3">sendMediaGroup</a>(int64_t chatId, <span class="keyword">const</span> std::vector<InputMedia::Ptr>& media,</div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>, int32_t replyToMessageId = 0) <span class="keyword">const</span>;</div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span> </div><div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a6664f4fa87a3648afc5a9f3023a7887d">sendVoice</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> voice, <span class="keyword">const</span> std::string& caption = <span class="stringliteral">""</span>, <span class="keywordtype">int</span> duration = 0, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00447"></a><span class="lineno"> 447</span> </div><div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a6664f4fa87a3648afc5a9f3023a7887d">sendVoice</a>(int64_t chatId, <span class="keyword">const</span> std::string& voiceId, <span class="keyword">const</span> std::string& caption = <span class="stringliteral">""</span>, <span class="keywordtype">int</span> duration = 0, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00462"></a><span class="lineno"> 462</span> </div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a1f57d0622b6dc52d64f590e4468c20f8">sendGame</a>(int64_t chatId, <span class="keyword">const</span> std::string& gameShortName, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_inline_keyboard_markup.html#a596873291582fb23cfbe6b62e20df8e7">InlineKeyboardMarkup::Ptr</a> replyMarkup = std::make_shared<InlineKeyboardMarkup>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00474"></a><span class="lineno"> 474</span> </div><div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#afa6fd752ac02553795bfef4290f9fb66">sendLocation</a>(int64_t chatId, <span class="keywordtype">float</span> latitude, <span class="keywordtype">float</span> longitude, uint32_t livePeriod = 0,</div><div class="line"><a name="l00487"></a><span class="lineno"> 487</span>  int32_t replyToMessageId = 0, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00488"></a><span class="lineno"> 488</span> </div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#af8056aea6a062a5c4c629c7dc5cfe8c0">editMessageLiveLocation</a>(<span class="keywordtype">float</span> latitude, <span class="keywordtype">float</span> longitude, int64_t chatId = 0, int32_t messageId = 0,</div><div class="line"><a name="l00500"></a><span class="lineno"> 500</span>  int32_t inlineMessageId = 0, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_inline_keyboard_markup.html#a596873291582fb23cfbe6b62e20df8e7">InlineKeyboardMarkup::Ptr</a> replyMarkup = std::make_shared<InlineKeyboardMarkup>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00501"></a><span class="lineno"> 501</span> </div><div class="line"><a name="l00510"></a><span class="lineno"> 510</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ab5fc9e83dee40c6040fe1c56a882c905">stopMessageLiveLocation</a>(int64_t chatId = 0, int32_t messageId = 0, int32_t inlineMessageId = 0,</div><div class="line"><a name="l00511"></a><span class="lineno"> 511</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_inline_keyboard_markup.html#a596873291582fb23cfbe6b62e20df8e7">InlineKeyboardMarkup::Ptr</a> replyMarkup = std::make_shared<InlineKeyboardMarkup>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00512"></a><span class="lineno"> 512</span> </div><div class="line"><a name="l00513"></a><span class="lineno"> 513</span> </div><div class="line"><a name="l00527"></a><span class="lineno"> 527</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#afbd6a5c72f53341ccbd71033d45aac4a">sendVenue</a>(int64_t chatId, <span class="keywordtype">float</span> latitude, <span class="keywordtype">float</span> longitude, <span class="keyword">const</span> std::string& title, <span class="keyword">const</span> std::string& address, <span class="keyword">const</span> std::string& foursquareId = <span class="stringliteral">""</span>,</div><div class="line"><a name="l00528"></a><span class="lineno"> 528</span>  <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>, int32_t replyToMessageId = 0, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00529"></a><span class="lineno"> 529</span> </div><div class="line"><a name="l00541"></a><span class="lineno"> 541</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a48415173f58fe4c4cc8ec7cc5c836cb7">sendContact</a>(int64_t chatId, <span class="keyword">const</span> std::string& phoneNumber, <span class="keyword">const</span> std::string& firstName, <span class="keyword">const</span> std::string& lastName = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>,</div><div class="line"><a name="l00542"></a><span class="lineno"> 542</span>  int32_t replyToMessageId = 0, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00543"></a><span class="lineno"> 543</span> </div><div class="line"><a name="l00553"></a><span class="lineno"> 553</span>  <span class="keywordtype">void</span> <a class="code" href="class_tg_bot_1_1_api.html#a1a901654ddad96464a5bff3210932fc4">sendChatAction</a>(int64_t chatId, <span class="keyword">const</span> std::string& action) <span class="keyword">const</span>;</div><div class="line"><a name="l00554"></a><span class="lineno"> 554</span> </div><div class="line"><a name="l00562"></a><span class="lineno"> 562</span>  <a class="code" href="class_tg_bot_1_1_user_profile_photos.html#a734352c5b115ea29e639f01462187d55">UserProfilePhotos::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a2ec0062e6fc92767298b663c6e354e69">getUserProfilePhotos</a>(int32_t userId, int32_t offset = 0, int32_t limit = 100) <span class="keyword">const</span>;</div><div class="line"><a name="l00563"></a><span class="lineno"> 563</span> </div><div class="line"><a name="l00569"></a><span class="lineno"> 569</span>  <a class="code" href="class_tg_bot_1_1_file.html#ac47e9c73b9d762eef2322c0932c5a934">File::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#afd78c8ca4b91c632df03e51eb967075b">getFile</a>(<span class="keyword">const</span> std::string &fileId) <span class="keyword">const</span>;</div><div class="line"><a name="l00570"></a><span class="lineno"> 570</span> </div><div class="line"><a name="l00576"></a><span class="lineno"> 576</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a40a68303a485e8dc778af103fefa76a4">leaveChat</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00577"></a><span class="lineno"> 577</span> </div><div class="line"><a name="l00583"></a><span class="lineno"> 583</span>  <a class="code" href="class_tg_bot_1_1_chat.html#a9818e295b599a08b77abefb38de75e48">Chat::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ae2233d6a8b8cf51e4be08853d972ba20">getChat</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00584"></a><span class="lineno"> 584</span> </div><div class="line"><a name="l00590"></a><span class="lineno"> 590</span>  std::vector<ChatMember::Ptr> <a class="code" href="class_tg_bot_1_1_api.html#a09af96dadde7bce75045924bc137f73e">getChatAdministrators</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00591"></a><span class="lineno"> 591</span> </div><div class="line"><a name="l00597"></a><span class="lineno"> 597</span>  int32_t <a class="code" href="class_tg_bot_1_1_api.html#add7de90c14200ebc0654f6ff94615dc4">getChatMembersCount</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00598"></a><span class="lineno"> 598</span> </div><div class="line"><a name="l00605"></a><span class="lineno"> 605</span>  <a class="code" href="class_tg_bot_1_1_chat_member.html#a7c14c867a129ac28396b680c79dc495d">ChatMember::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#aa2d667d976f4c6e19f3df9473f5b0cb4">getChatMember</a>(int64_t chatId, int32_t userId) <span class="keyword">const</span>;</div><div class="line"><a name="l00606"></a><span class="lineno"> 606</span> </div><div class="line"><a name="l00613"></a><span class="lineno"> 613</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#ac9d05feddc2844907335cf07ad5d9a51">setChatStickerSet</a>(int64_t chatId, <span class="keyword">const</span> std::string& stickerSetName) <span class="keyword">const</span>;</div><div class="line"><a name="l00614"></a><span class="lineno"> 614</span> </div><div class="line"><a name="l00620"></a><span class="lineno"> 620</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a74f9c4536b999ae3d3e04cf7e2fc107d">deleteChatStickerSet</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00621"></a><span class="lineno"> 621</span> </div><div class="line"><a name="l00622"></a><span class="lineno"> 622</span> </div><div class="line"><a name="l00632"></a><span class="lineno"> 632</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a9f1cbc18cfd16def2bd4d4b816e87cfa">answerCallbackQuery</a>(<span class="keyword">const</span> std::string & callbackQueryId, <span class="keyword">const</span> std::string & text=<span class="stringliteral">""</span>, <span class="keywordtype">bool</span> showAlert=<span class="keyword">false</span>, <span class="keyword">const</span> std::string &url=<span class="stringliteral">""</span>, int32_t cacheTime=0) <span class="keyword">const</span>;</div><div class="line"><a name="l00633"></a><span class="lineno"> 633</span> </div><div class="line"><a name="l00645"></a><span class="lineno"> 645</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a96e0fc377bddcff4e6daadfbe2c06114">editMessageText</a>(<span class="keyword">const</span> std::string& text, int64_t chatId=0, int32_t messageId=0, <span class="keyword">const</span> std::string& inlineMessageId=<span class="stringliteral">""</span>,</div><div class="line"><a name="l00646"></a><span class="lineno"> 646</span>  <span class="keyword">const</span> std::string& parseMode = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableWebPagePreview = <span class="keyword">false</span>, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00647"></a><span class="lineno"> 647</span> </div><div class="line"><a name="l00657"></a><span class="lineno"> 657</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a34017cf57676c8a0255f3083f12a9d65">editMessageCaption</a>(int64_t chatId = 0, int32_t messageId = 0, <span class="keyword">const</span> std::string& caption = <span class="stringliteral">""</span>,</div><div class="line"><a name="l00658"></a><span class="lineno"> 658</span>  <span class="keyword">const</span> std::string& inlineMessageId = <span class="stringliteral">""</span>, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00659"></a><span class="lineno"> 659</span> </div><div class="line"><a name="l00668"></a><span class="lineno"> 668</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a7c737b0c3cc0b9f3894ac51d9210fba0">editMessageReplyMarkup</a>(int64_t chatId = 0, int32_t messageId = 0, <span class="keyword">const</span> std::string& inlineMessageId = <span class="stringliteral">""</span>,</div><div class="line"><a name="l00669"></a><span class="lineno"> 669</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00670"></a><span class="lineno"> 670</span> </div><div class="line"><a name="l00676"></a><span class="lineno"> 676</span>  <span class="keywordtype">void</span> <a class="code" href="class_tg_bot_1_1_api.html#a6302f338a5af745533847c62e2c91018">deleteMessage</a>(int64_t chatId, int32_t messageId) <span class="keyword">const</span>;</div><div class="line"><a name="l00677"></a><span class="lineno"> 677</span> </div><div class="line"><a name="l00690"></a><span class="lineno"> 690</span>  std::vector<Update::Ptr> <a class="code" href="class_tg_bot_1_1_api.html#aa43007edecb1c3a8438e3217fcfbbc94">getUpdates</a>(int32_t offset = 0, int32_t limit = 100, int32_t timeout = 0, <span class="keyword">const</span> StringArrayPtr &allowedUpdates = <span class="keyword">nullptr</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00691"></a><span class="lineno"> 691</span> </div><div class="line"><a name="l00702"></a><span class="lineno"> 702</span>  <span class="keywordtype">void</span> <a class="code" href="class_tg_bot_1_1_api.html#ace37f034356c0afd60c03799bf263f71">setWebhook</a>(<span class="keyword">const</span> std::string& url = <span class="stringliteral">""</span>, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> certificate = <span class="keyword">nullptr</span>, int32_t maxConnection = 40, <span class="keyword">const</span> StringArrayPtr &allowedUpdates = <span class="keyword">nullptr</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00703"></a><span class="lineno"> 703</span> </div><div class="line"><a name="l00711"></a><span class="lineno"> 711</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#af924cf5917fcb39f9c3df91a748d0347">deleteWebhook</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00712"></a><span class="lineno"> 712</span> </div><div class="line"><a name="l00721"></a><span class="lineno"> 721</span>  <a class="code" href="class_tg_bot_1_1_webhook_info.html#a2280093713d1304207d8bba2204648d6">WebhookInfo::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a27558973e48073b292ad49e613c7da8e">getWebhookInfo</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00722"></a><span class="lineno"> 722</span> </div><div class="line"><a name="l00735"></a><span class="lineno"> 735</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#af1191f022ce6029cc4889ceebc7189af">answerInlineQuery</a>(<span class="keyword">const</span> std::string& inlineQueryId, <span class="keyword">const</span> std::vector<InlineQueryResult::Ptr>& results,</div><div class="line"><a name="l00736"></a><span class="lineno"> 736</span>  int32_t cacheTime = 300, <span class="keywordtype">bool</span> isPersonal = <span class="keyword">false</span>, <span class="keyword">const</span> std::string& nextOffset = <span class="stringliteral">""</span>, <span class="keyword">const</span> std::string& switchPmText = <span class="stringliteral">""</span>, <span class="keyword">const</span> std::string& switchPmParameter = <span class="stringliteral">""</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00737"></a><span class="lineno"> 737</span> </div><div class="line"><a name="l00745"></a><span class="lineno"> 745</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#af0b6c399430facc369c5592aa1ecf161">kickChatMember</a>(int64_t chatId, int32_t userId, uint64_t untilDate = 0) <span class="keyword">const</span>;</div><div class="line"><a name="l00746"></a><span class="lineno"> 746</span> </div><div class="line"><a name="l00753"></a><span class="lineno"> 753</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a72fbbf1282eb25dc158db9ab2a39cacb">unbanChatMember</a>(int64_t chatId, int32_t userId) <span class="keyword">const</span>;</div><div class="line"><a name="l00754"></a><span class="lineno"> 754</span> </div><div class="line"><a name="l00766"></a><span class="lineno"> 766</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a87abb412b48b905e8cea6262c410363b">restrictChatMember</a>(int64_t chatId, int32_t userId, uint64_t untilDate = 0, <span class="keywordtype">bool</span> canSendMessages = <span class="keyword">false</span>,</div><div class="line"><a name="l00767"></a><span class="lineno"> 767</span>  <span class="keywordtype">bool</span> canSendMediaMessages = <span class="keyword">false</span>, <span class="keywordtype">bool</span> canSendOtherMessages = <span class="keyword">false</span>, <span class="keywordtype">bool</span> canAddWebPagePreviews = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00768"></a><span class="lineno"> 768</span> </div><div class="line"><a name="l00783"></a><span class="lineno"> 783</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a1938236a7e5fb80b60061d2edcbcbabc">promoteChatMember</a>(int64_t chatId, int32_t userId, <span class="keywordtype">bool</span> canChangeInfo = <span class="keyword">false</span>, <span class="keywordtype">bool</span> canPostMessages = <span class="keyword">false</span>,</div><div class="line"><a name="l00784"></a><span class="lineno"> 784</span>  <span class="keywordtype">bool</span> canEditMessages = <span class="keyword">false</span>, <span class="keywordtype">bool</span> canDeleteMessages = <span class="keyword">false</span>, <span class="keywordtype">bool</span> canInviteUsers = <span class="keyword">false</span>, <span class="keywordtype">bool</span> canPinMessages = <span class="keyword">false</span>, <span class="keywordtype">bool</span> canPromoteMembers = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00785"></a><span class="lineno"> 785</span> </div><div class="line"><a name="l00791"></a><span class="lineno"> 791</span>  std::string <a class="code" href="class_tg_bot_1_1_api.html#a6061ec1d126165709955b526b17fd2c2">exportChatInviteLink</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00792"></a><span class="lineno"> 792</span> </div><div class="line"><a name="l00802"></a><span class="lineno"> 802</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a53c636b18acde8eacdb26201808ad217">setChatPhoto</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> photo) <span class="keyword">const</span>;</div><div class="line"><a name="l00803"></a><span class="lineno"> 803</span> </div><div class="line"><a name="l00812"></a><span class="lineno"> 812</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a154af6a79db40c4eecc006924836e025">deleteChatPhoto</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00813"></a><span class="lineno"> 813</span> </div><div class="line"><a name="l00823"></a><span class="lineno"> 823</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#aa680466fe9910e2c923717519bb90223">setChatTitle</a>(int64_t chatId, <span class="keyword">const</span> std::string& title) <span class="keyword">const</span>;</div><div class="line"><a name="l00824"></a><span class="lineno"> 824</span> </div><div class="line"><a name="l00831"></a><span class="lineno"> 831</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a781b82abe744bc56d9e7c3e51cd54c53">setChatDescription</a>(int64_t chatId, <span class="keyword">const</span> std::string& description) <span class="keyword">const</span>;</div><div class="line"><a name="l00832"></a><span class="lineno"> 832</span> </div><div class="line"><a name="l00840"></a><span class="lineno"> 840</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a79fe90a632c8f2579ec8e371a42cb607">pinChatMessage</a>(int64_t chatId, int32_t messageId, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00841"></a><span class="lineno"> 841</span> </div><div class="line"><a name="l00847"></a><span class="lineno"> 847</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#aa0e2429129522a75401bf4f9a034fb21">unpinChatMessage</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00848"></a><span class="lineno"> 848</span> </div><div class="line"><a name="l00863"></a><span class="lineno"> 863</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#aa2b32e8b322719b0431b3d77b18fb09a">setGameScore</a>(int32_t userId, int32_t score, <span class="keywordtype">bool</span> force = <span class="keyword">false</span>, <span class="keywordtype">bool</span> disableEditMessage = <span class="keyword">false</span>,</div><div class="line"><a name="l00864"></a><span class="lineno"> 864</span>  int64_t chatId = 0, int32_t messageId = 0, <span class="keyword">const</span> std::string& inlineMessageId = <span class="stringliteral">""</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00865"></a><span class="lineno"> 865</span> </div><div class="line"><a name="l00877"></a><span class="lineno"> 877</span>  std::vector<GameHighScore::Ptr> <a class="code" href="class_tg_bot_1_1_api.html#a6a2ce85e426e9c2242ceefc933abde68">getGameHighScores</a>(int32_t userId, int32_t score, <span class="keywordtype">bool</span> force = <span class="keyword">false</span>,</div><div class="line"><a name="l00878"></a><span class="lineno"> 878</span>  <span class="keywordtype">bool</span> disableEditMessage = <span class="keyword">false</span>, int64_t chatId = 0, int32_t messageId = 0, <span class="keyword">const</span> std::string& inlineMessageId = <span class="stringliteral">""</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00879"></a><span class="lineno"> 879</span> </div><div class="line"><a name="l00880"></a><span class="lineno"> 880</span> </div><div class="line"><a name="l00887"></a><span class="lineno"> 887</span>  std::string <a class="code" href="class_tg_bot_1_1_api.html#a093648c83194f1fef00c3cf3fbec3ae4">downloadFile</a>(<span class="keyword">const</span> std::string& filePath, <span class="keyword">const</span> std::vector<HttpReqArg>& args = std::vector<HttpReqArg>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00888"></a><span class="lineno"> 888</span> </div><div class="line"><a name="l00889"></a><span class="lineno"> 889</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00890"></a><span class="lineno"> 890</span>  boost::property_tree::ptree sendRequest(<span class="keyword">const</span> std::string& method, <span class="keyword">const</span> std::vector<HttpReqArg>& args = std::vector<HttpReqArg>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00891"></a><span class="lineno"> 891</span> </div><div class="line"><a name="l00892"></a><span class="lineno"> 892</span>  <span class="keyword">const</span> std::string _token;</div><div class="line"><a name="l00893"></a><span class="lineno"> 893</span> };</div><div class="line"><a name="l00894"></a><span class="lineno"> 894</span> </div><div class="line"><a name="l00895"></a><span class="lineno"> 895</span> }</div><div class="line"><a name="l00896"></a><span class="lineno"> 896</span> </div><div class="line"><a name="l00897"></a><span class="lineno"> 897</span> <span class="preprocessor">#endif //TGBOT_CPP_API_H</span></div><div class="ttc" id="class_tg_bot_1_1_api_html_a59567254a0b6b1650a2d947a777d7710"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a59567254a0b6b1650a2d947a777d7710">TgBot::Api::sendSticker</a></div><div class="ttdeci">Message::Ptr sendSticker(int64_t chatId, const InputFile::Ptr sticker, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), bool disableNotification=false) const </div><div class="ttdoc">Use this method to send .webp stickers. </div></div> <div class="ttc" id="class_tg_bot_1_1_sticker_set_html_ad3c58f08ddacdb946507cd96a3d54421"><div class="ttname"><a href="class_tg_bot_1_1_sticker_set.html#ad3c58f08ddacdb946507cd96a3d54421">TgBot::StickerSet::Ptr</a></div><div class="ttdeci">std::shared_ptr< StickerSet > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="_sticker_set_8h_source.html#l00042">StickerSet.h:42</a></div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_aa43007edecb1c3a8438e3217fcfbbc94"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aa43007edecb1c3a8438e3217fcfbbc94">TgBot::Api::getUpdates</a></div><div class="ttdeci">std::vector< Update::Ptr > getUpdates(int32_t offset=0, int32_t limit=100, int32_t timeout=0, const StringArrayPtr &allowedUpdates=nullptr) const </div><div class="ttdoc">Use this method to receive incoming updates using long polling. </div></div> <div class="ttc" id="class_tg_bot_1_1_file_html_ac47e9c73b9d762eef2322c0932c5a934"><div class="ttname"><a href="class_tg_bot_1_1_file.html#ac47e9c73b9d762eef2322c0932c5a934">TgBot::File::Ptr</a></div><div class="ttdeci">std::shared_ptr< File > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="_file_8h_source.html#l00026">File.h:26</a></div></div> <div class="ttc" id="_sticker_set_8h_html"><div class="ttname"><a href="_sticker_set_8h.html">StickerSet.h</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a4a701223b6a834b594e216a80695d300"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a4a701223b6a834b594e216a80695d300">TgBot::Api::promoteChatMember</a></div><div class="ttdeci">bool promoteChatMember(int64_t chatId, int32_t userId, bool canChangeInfo=false, bool canPostMessages=false, bool canEditMessages=false, bool canDeleteMessages=false, bool canInviteUsers=false, bool canPinMessages=false, bool canPromoteMembers=false) const</div><div class="ttdoc">Use this method to promote or demote a user in a supergroup or a channel. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_ae999adb4e101bdf95cdee77867e084fc"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ae999adb4e101bdf95cdee77867e084fc">TgBot::Api::unpinChatMessage</a></div><div class="ttdeci">bool unpinChatMessage(int64_t chatId) const</div><div class="ttdoc">Use this method to unpin a message in a supergroup or a channel. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_aa60ec06b9171d94ef717f1ac03190f07"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aa60ec06b9171d94ef717f1ac03190f07">TgBot::Api::downloadFile</a></div><div class="ttdeci">std::string downloadFile(const std::string &filePath, const std::vector< HttpReqArg > &args=std::vector< HttpReqArg >()) const</div><div class="ttdoc">Downloads file from Telegram and saves it in memory. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_abd10abcfaf859c63cab0526b8c9179c9"><div class="ttname"><a href="class_tg_bot_1_1_api.html#abd10abcfaf859c63cab0526b8c9179c9">TgBot::Api::getUpdates</a></div><div class="ttdeci">std::vector< Update::Ptr > getUpdates(int32_t offset=0, int32_t limit=100, int32_t timeout=0, const StringArrayPtr &allowedUpdates=nullptr) const</div><div class="ttdoc">Use this method to receive incoming updates using long polling. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_abd83eabc02928c2d2ebbb9835c410ea8"><div class="ttname"><a href="class_tg_bot_1_1_api.html#abd83eabc02928c2d2ebbb9835c410ea8">TgBot::Api::sendPhoto</a></div><div class="ttdeci">Message::Ptr sendPhoto(int64_t chatId, const InputFile::Ptr photo, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) const</div><div class="ttdoc">Use this method to send photos. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_ac50bdd50bf0cf5a211e699925759ebc1"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ac50bdd50bf0cf5a211e699925759ebc1">TgBot::Api::getFile</a></div><div class="ttdeci">File::Ptr getFile(const std::string &fileId) const</div><div class="ttdoc">Use this method to get basic info about a file and prepare it for downloading. For the moment...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a9f1cbc18cfd16def2bd4d4b816e87cfa"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a9f1cbc18cfd16def2bd4d4b816e87cfa">TgBot::Api::answerCallbackQuery</a></div><div class="ttdeci">bool answerCallbackQuery(const std::string &callbackQueryId, const std::string &text="", bool showAlert=false, const std::string &url="", int32_t cacheTime=0) const </div><div class="ttdoc">Use this method to send answers to callback queries sent from inline keyboards. The answer will be di...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_ac9d05feddc2844907335cf07ad5d9a51"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ac9d05feddc2844907335cf07ad5d9a51">TgBot::Api::setChatStickerSet</a></div><div class="ttdeci">bool setChatStickerSet(int64_t chatId, const std::string &stickerSetName) const </div><div class="ttdoc">Use this method to get information about a member of a chat. Returns a ChatMember object on success...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a09af96dadde7bce75045924bc137f73e"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a09af96dadde7bce75045924bc137f73e">TgBot::Api::getChatAdministrators</a></div><div class="ttdeci">std::vector< ChatMember::Ptr > getChatAdministrators(int64_t chatId) const </div><div class="ttdoc">Use this method to get a list of administrators in a chat. On success, returns an Array of ChatMember...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a74f9c4536b999ae3d3e04cf7e2fc107d"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a74f9c4536b999ae3d3e04cf7e2fc107d">TgBot::Api::deleteChatStickerSet</a></div><div class="ttdeci">bool deleteChatStickerSet(int64_t chatId) const </div><div class="ttdoc">Use this method to get information about a member of a chat. Returns a ChatMember object on success...</div></div> <div class="ttc" id="_webhook_info_8h_html"><div class="ttname"><a href="_webhook_info_8h.html">WebhookInfo.h</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_aa9a0592b9a6c3ffe0d05005292b90250"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aa9a0592b9a6c3ffe0d05005292b90250">TgBot::Api::setChatDescription</a></div><div class="ttdeci">bool setChatDescription(int64_t chatId, const std::string &description) const</div><div class="ttdoc">Use this method to change the description of a supergroup or a channel. </div></div> -<div class="ttc" id="namespace_tg_bot_html"><div class="ttname"><a href="namespace_tg_bot.html">TgBot</a></div><div class="ttdef"><b>Definition:</b> <a href="_api_8h_source.html#l00047">Api.h:47</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a43c91c467f45e4207968bf6cf1cb3a6e"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a43c91c467f45e4207968bf6cf1cb3a6e">TgBot::Api::setChatTitle</a></div><div class="ttdeci">bool setChatTitle(int64_t chatId, const std::string &title) const</div><div class="ttdoc">Use this method to change the title of a chat. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a3b85e962cd7ed5df9f4204b8424aabef"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a3b85e962cd7ed5df9f4204b8424aabef">TgBot::Api::kickChatMember</a></div><div class="ttdeci">bool kickChatMember(int64_t chatId, int32_t userId, uint64_t untilDate=0) const</div><div class="ttdoc">Use this method to kick a user from a group or a supergroup. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a378064e036f99e8f2a9c5a70c5e2c33c"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a378064e036f99e8f2a9c5a70c5e2c33c">TgBot::Api::createNewStickerSet</a></div><div class="ttdeci">bool createNewStickerSet(int32_t userId, const std::string &name, const std::string &title, InputFile::Ptr pngSticker, const std::string &emojis, bool containsMasks=false, MaskPosition::Ptr maskPosition=nullptr) const</div><div class="ttdoc">Use this method to create new sticker set owned by a user. The bot will be able to edit the created s...</div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a29f67a91434a7ce8b017f103419f23c4"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a29f67a91434a7ce8b017f103419f23c4">TgBot::Api::sendContact</a></div><div class="ttdeci">Message::Ptr sendContact(int64_t chatId, const std::string &phoneNumber, const std::string &firstName, const std::string &lastName="", bool disableNotification=false, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) const</div><div class="ttdoc">Use this method to send phone contacts. On success, the sent Message is returned. ...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a6664f4fa87a3648afc5a9f3023a7887d"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a6664f4fa87a3648afc5a9f3023a7887d">TgBot::Api::sendVoice</a></div><div class="ttdeci">Message::Ptr sendVoice(int64_t chatId, const InputFile::Ptr voice, const std::string &caption="", int duration=0, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) const </div><div class="ttdoc">Use this method to send audio files, if you want Telegram clients to display the file as a playable v...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_ab5fc9e83dee40c6040fe1c56a882c905"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ab5fc9e83dee40c6040fe1c56a882c905">TgBot::Api::stopMessageLiveLocation</a></div><div class="ttdeci">Message::Ptr stopMessageLiveLocation(int64_t chatId=0, int32_t messageId=0, int32_t inlineMessageId=0, const InlineKeyboardMarkup::Ptr replyMarkup=std::make_shared< InlineKeyboardMarkup >()) const </div><div class="ttdoc">Use this method to edit live location messages sent by the bot or via the bot (for inline bots)...</div></div> +<div class="ttc" id="namespace_tg_bot_html"><div class="ttname"><a href="namespace_tg_bot.html">TgBot</a></div><div class="ttdef"><b>Definition:</b> <a href="_api_8h_source.html#l00049">Api.h:49</a></div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a48415173f58fe4c4cc8ec7cc5c836cb7"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a48415173f58fe4c4cc8ec7cc5c836cb7">TgBot::Api::sendContact</a></div><div class="ttdeci">Message::Ptr sendContact(int64_t chatId, const std::string &phoneNumber, const std::string &firstName, const std::string &lastName="", bool disableNotification=false, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) const </div><div class="ttdoc">Use this method to send phone contacts. On success, the sent Message is returned. ...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_aa0c9cd2ca4282f883b9b340de039dae6"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aa0c9cd2ca4282f883b9b340de039dae6">TgBot::Api::sendAudio</a></div><div class="ttdeci">Message::Ptr sendAudio(int64_t chatId, const InputFile::Ptr audio, const std::string &caption="", int32_t duration=0, const std::string &performer="", const std::string &title="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) const </div><div class="ttdoc">Use this method to send audio files, if you want Telegram clients to display the file as a playable v...</div></div> <div class="ttc" id="_generic_reply_8h_html"><div class="ttname"><a href="_generic_reply_8h.html">GenericReply.h</a></div></div> <div class="ttc" id="_update_8h_html"><div class="ttname"><a href="_update_8h.html">Update.h</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a48af7fd639ee071eac165e49c75cc6d0"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a48af7fd639ee071eac165e49c75cc6d0">TgBot::Api::addStickerToSet</a></div><div class="ttdeci">bool addStickerToSet(int32_t userId, const std::string &name, const std::string &title, InputFile::Ptr pngSticker, const std::string &emojis, MaskPosition::Ptr maskPosition=nullptr) const</div><div class="ttdoc">Use this method to add a new sticker to a set created by the bot. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a2f73414941d8bb67ff3721a674274bf8"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a2f73414941d8bb67ff3721a674274bf8">TgBot::Api::answerCallbackQuery</a></div><div class="ttdeci">bool answerCallbackQuery(const std::string &callbackQueryId, const std::string &text="", bool showAlert=false, const std::string &url="", int32_t cacheTime=0) const</div><div class="ttdoc">Use this method to send answers to callback queries sent from inline keyboards. The answer will be di...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a72fbbf1282eb25dc158db9ab2a39cacb"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a72fbbf1282eb25dc158db9ab2a39cacb">TgBot::Api::unbanChatMember</a></div><div class="ttdeci">bool unbanChatMember(int64_t chatId, int32_t userId) const </div><div class="ttdoc">Use this method to unban a previously kicked user in a supergroup. </div></div> <div class="ttc" id="class_tg_bot_1_1_inline_keyboard_markup_html_a596873291582fb23cfbe6b62e20df8e7"><div class="ttname"><a href="class_tg_bot_1_1_inline_keyboard_markup.html#a596873291582fb23cfbe6b62e20df8e7">TgBot::InlineKeyboardMarkup::Ptr</a></div><div class="ttdeci">std::shared_ptr< InlineKeyboardMarkup > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="_inline_keyboard_markup_8h_source.html#l00023">InlineKeyboardMarkup.h:23</a></div></div> <div class="ttc" id="_http_req_arg_8h_html"><div class="ttname"><a href="_http_req_arg_8h.html">HttpReqArg.h</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_ab7767c4474092f5fee78150394ae0ef2"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ab7767c4474092f5fee78150394ae0ef2">TgBot::Api::sendSticker</a></div><div class="ttdeci">Message::Ptr sendSticker(int64_t chatId, const InputFile::Ptr sticker, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), bool disableNotification=false) const</div><div class="ttdoc">Use this method to send .webp stickers. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html"><div class="ttname"><a href="class_tg_bot_1_1_api.html">TgBot::Api</a></div><div class="ttdoc">This class executes telegram api methods. Telegram docs: https://core.telegram.org/bots/api#available...</div><div class="ttdef"><b>Definition:</b> <a href="_api_8h_source.html#l00056">Api.h:56</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_aafb54206146f5b9510ef89026d0b8589"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aafb54206146f5b9510ef89026d0b8589">TgBot::Api::setChatStickerSet</a></div><div class="ttdeci">bool setChatStickerSet(int64_t chatId, const std::string &stickerSetName) const</div><div class="ttdoc">Use this method to get information about a member of a chat. Returns a ChatMember object on success...</div></div> -<div class="ttc" id="class_tg_bot_1_1_message_html_a3805a5dc013c6ab23ac5efc91282c11d"><div class="ttname"><a href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">TgBot::Message::Ptr</a></div><div class="ttdeci">std::shared_ptr< Message > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="_message_8h_source.html#l00054">Message.h:54</a></div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_add7de90c14200ebc0654f6ff94615dc4"><div class="ttname"><a href="class_tg_bot_1_1_api.html#add7de90c14200ebc0654f6ff94615dc4">TgBot::Api::getChatMembersCount</a></div><div class="ttdeci">int32_t getChatMembersCount(int64_t chatId) const </div><div class="ttdoc">Use this method to get the number of members in a chat. Returns Int on success. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a89bb062bdba276f1faa2b0d222718cb1"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a89bb062bdba276f1faa2b0d222718cb1">TgBot::Api::getStickerSet</a></div><div class="ttdeci">StickerSet::Ptr getStickerSet(const std::string &name) const </div><div class="ttdoc">Use this method to get a sticker set. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a6a2ce85e426e9c2242ceefc933abde68"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a6a2ce85e426e9c2242ceefc933abde68">TgBot::Api::getGameHighScores</a></div><div class="ttdeci">std::vector< GameHighScore::Ptr > getGameHighScores(int32_t userId, int32_t score, bool force=false, bool disableEditMessage=false, int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="") const </div><div class="ttdoc">Use this method to get data for high score tables. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a2ec0062e6fc92767298b663c6e354e69"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a2ec0062e6fc92767298b663c6e354e69">TgBot::Api::getUserProfilePhotos</a></div><div class="ttdeci">UserProfilePhotos::Ptr getUserProfilePhotos(int32_t userId, int32_t offset=0, int32_t limit=100) const </div><div class="ttdoc">Use this method to get a list of profile pictures for a user. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html"><div class="ttname"><a href="class_tg_bot_1_1_api.html">TgBot::Api</a></div><div class="ttdoc">This class executes telegram api methods. Telegram docs: https://core.telegram.org/bots/api#available...</div><div class="ttdef"><b>Definition:</b> <a href="_api_8h_source.html#l00058">Api.h:58</a></div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_ac9731240a7670422209b62f84d8d3b88"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ac9731240a7670422209b62f84d8d3b88">TgBot::Api::sendPhoto</a></div><div class="ttdeci">Message::Ptr sendPhoto(int64_t chatId, const InputFile::Ptr photo, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) const </div><div class="ttdoc">Use this method to send photos. </div></div> +<div class="ttc" id="class_tg_bot_1_1_message_html_a3805a5dc013c6ab23ac5efc91282c11d"><div class="ttname"><a href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">TgBot::Message::Ptr</a></div><div class="ttdeci">std::shared_ptr< Message > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="_message_8h_source.html#l00056">Message.h:56</a></div></div> <div class="ttc" id="_input_media_8h_html"><div class="ttname"><a href="_input_media_8h.html">InputMedia.h</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a84538c3c1ab19dc262b471edb361ad8d"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a84538c3c1ab19dc262b471edb361ad8d">TgBot::Api::pinChatMessage</a></div><div class="ttdeci">bool pinChatMessage(int64_t chatId, int32_t messageId, bool disableNotification=false) const</div><div class="ttdoc">Use this method to pin a message in a supergroup or a channel. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a781b82abe744bc56d9e7c3e51cd54c53"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a781b82abe744bc56d9e7c3e51cd54c53">TgBot::Api::setChatDescription</a></div><div class="ttdeci">bool setChatDescription(int64_t chatId, const std::string &description) const </div><div class="ttdoc">Use this method to change the description of a supergroup or a channel. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_afbd6a5c72f53341ccbd71033d45aac4a"><div class="ttname"><a href="class_tg_bot_1_1_api.html#afbd6a5c72f53341ccbd71033d45aac4a">TgBot::Api::sendVenue</a></div><div class="ttdeci">Message::Ptr sendVenue(int64_t chatId, float latitude, float longitude, const std::string &title, const std::string &address, const std::string &foursquareId="", bool disableNotification=false, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) const </div><div class="ttdoc">Use this method to send information about a venue. On success, the sent Message is returned...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a2028955491cb7057f5150634583e4ac3"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a2028955491cb7057f5150634583e4ac3">TgBot::Api::sendMediaGroup</a></div><div class="ttdeci">std::vector< Message::Ptr > sendMediaGroup(int64_t chatId, const std::vector< InputMedia::Ptr > &media, bool disableNotification=false, int32_t replyToMessageId=0) const </div><div class="ttdoc">Use this method to send a group of photos or videos as an album. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_afd78c8ca4b91c632df03e51eb967075b"><div class="ttname"><a href="class_tg_bot_1_1_api.html#afd78c8ca4b91c632df03e51eb967075b">TgBot::Api::getFile</a></div><div class="ttdeci">File::Ptr getFile(const std::string &fileId) const </div><div class="ttdoc">Use this method to get basic info about a file and prepare it for downloading. For the moment...</div></div> <div class="ttc" id="_inline_query_result_8h_html"><div class="ttname"><a href="_inline_query_result_8h.html">InlineQueryResult.h</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a566fcf52400de18737110edd7ab01535"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a566fcf52400de18737110edd7ab01535">TgBot::Api::getMe</a></div><div class="ttdeci">User::Ptr getMe() const</div><div class="ttdoc">A simple method for testing your bot&#39;s auth token. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_af63bf4b6ac63ad077abd7bb4056b3cc5"><div class="ttname"><a href="class_tg_bot_1_1_api.html#af63bf4b6ac63ad077abd7bb4056b3cc5">TgBot::Api::deleteStickerPositionInSet</a></div><div class="ttdeci">bool deleteStickerPositionInSet(const std::string &sticker) const</div><div class="ttdoc">Use this method to delete a sticker from a set created by the bot. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a963570ff375bced1e5b21246082365f1"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a963570ff375bced1e5b21246082365f1">TgBot::Api::deleteMessage</a></div><div class="ttdeci">void deleteMessage(int64_t chatId, int32_t messageId) const</div><div class="ttdoc">Use this method to delete messages sent by bot (or by other users if bot is admin). </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a885e70f75a1def9b953290aea2991c42"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a885e70f75a1def9b953290aea2991c42">TgBot::Api::deleteChatStickerSet</a></div><div class="ttdeci">bool deleteChatStickerSet(int64_t chatId) const</div><div class="ttdoc">Use this method to get information about a member of a chat. Returns a ChatMember object on success...</div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_aa4024dc69467d5028f85380f92a6d5e9"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aa4024dc69467d5028f85380f92a6d5e9">TgBot::Api::sendAudio</a></div><div class="ttdeci">Message::Ptr sendAudio(int64_t chatId, const InputFile::Ptr audio, const std::string &caption="", int32_t duration=0, const std::string &performer="", const std::string &title="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) const</div><div class="ttdoc">Use this method to send audio files, if you want Telegram clients to display the file as a playable v...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_acb86126bb7bc17af73350f09987b4e50"><div class="ttname"><a href="class_tg_bot_1_1_api.html#acb86126bb7bc17af73350f09987b4e50">TgBot::Api::sendVideo</a></div><div class="ttdeci">Message::Ptr sendVideo(int64_t chatId, const InputFile::Ptr video, bool supportsStreaming=false, int32_t duration=0, int32_t width=0, int32_t height=0, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) const </div><div class="ttdoc">Use this method to send video files, Telegram clients support mp4 videos (other formats may be sent a...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_af1191f022ce6029cc4889ceebc7189af"><div class="ttname"><a href="class_tg_bot_1_1_api.html#af1191f022ce6029cc4889ceebc7189af">TgBot::Api::answerInlineQuery</a></div><div class="ttdeci">bool answerInlineQuery(const std::string &inlineQueryId, const std::vector< InlineQueryResult::Ptr > &results, int32_t cacheTime=300, bool isPersonal=false, const std::string &nextOffset="", const std::string &switchPmText="", const std::string &switchPmParameter="") const </div><div class="ttdoc">Use this method to send answers to an inline query. No mode that 50 results per query are allowed...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a7ce5b3735e59a6cc7fc75badabb05371"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a7ce5b3735e59a6cc7fc75badabb05371">TgBot::Api::sendInvoice</a></div><div class="ttdeci">Message::Ptr sendInvoice(int64_t chatId, const std::string &title, const std::string &description, const std::string &payload, const std::string &providerToken, const std::string &startParameter, const std::string &currency, const std::vector< LabeledPrice::Ptr > &prices, const std::string &providerData="", const std::string &photoUrl="", int32_t photoSize=0, int32_t photoWidth=0, int32_t photoHeight=0, bool needName=false, bool needPhoneNumber=false, bool needEmail=false, bool needShippingAddress=false, bool sendPhoneNumberToProvider=false, bool sendEmailToProvider=false, bool isFlexible=false, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), bool disableNotification=false) const </div><div class="ttdoc">Use this method to send invoices. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_af67640a49edfa401ac72db694439fabb"><div class="ttname"><a href="class_tg_bot_1_1_api.html#af67640a49edfa401ac72db694439fabb">TgBot::Api::createNewStickerSet</a></div><div class="ttdeci">bool createNewStickerSet(int32_t userId, const std::string &name, const std::string &title, InputFile::Ptr pngSticker, const std::string &emojis, bool containsMasks=false, MaskPosition::Ptr maskPosition=nullptr) const </div><div class="ttdoc">Use this method to create new sticker set owned by a user. The bot will be able to edit the created s...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a6302f338a5af745533847c62e2c91018"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a6302f338a5af745533847c62e2c91018">TgBot::Api::deleteMessage</a></div><div class="ttdeci">void deleteMessage(int64_t chatId, int32_t messageId) const </div><div class="ttdoc">Use this method to delete messages sent by bot (or by other users if bot is admin). </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a910cdf6916c4526e8c3d449bebb55cf1"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a910cdf6916c4526e8c3d449bebb55cf1">TgBot::Api::uploadStickerFile</a></div><div class="ttdeci">File::Ptr uploadStickerFile(int32_t userId, const InputFile::Ptr pngSticker) const </div><div class="ttdoc">Use this method to upload a .png file with a sticker for later use in createNewStickerSet and addStic...</div></div> <div class="ttc" id="class_tg_bot_1_1_user_profile_photos_html_a734352c5b115ea29e639f01462187d55"><div class="ttname"><a href="class_tg_bot_1_1_user_profile_photos.html#a734352c5b115ea29e639f01462187d55">TgBot::UserProfilePhotos::Ptr</a></div><div class="ttdeci">std::shared_ptr< UserProfilePhotos > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="_user_profile_photos_8h_source.html#l00041">UserProfilePhotos.h:41</a></div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_abe7060a706003a13dfc3951cad0af9ed"><div class="ttname"><a href="class_tg_bot_1_1_api.html#abe7060a706003a13dfc3951cad0af9ed">TgBot::Api::forwardMessage</a></div><div class="ttdeci">Message::Ptr forwardMessage(int64_t chatId, int64_t fromChatId, int32_t messageId, bool disableNotification=false) const </div><div class="ttdoc">Use this method to forward messages of any kind. </div></div> <div class="ttc" id="class_tg_bot_1_1_webhook_info_html_a2280093713d1304207d8bba2204648d6"><div class="ttname"><a href="class_tg_bot_1_1_webhook_info.html#a2280093713d1304207d8bba2204648d6">TgBot::WebhookInfo::Ptr</a></div><div class="ttdeci">std::shared_ptr< WebhookInfo > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="_webhook_info_8h_source.html#l00021">WebhookInfo.h:21</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a43bf35783ec4f9a03e46925e36fda24c"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a43bf35783ec4f9a03e46925e36fda24c">TgBot::Api::getWebhookInfo</a></div><div class="ttdeci">WebhookInfo::Ptr getWebhookInfo() const</div><div class="ttdoc">Use this method to get current webhook status. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a9cec040119c296aa991a53a77d3cd8c4"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a9cec040119c296aa991a53a77d3cd8c4">TgBot::Api::setGameScore</a></div><div class="ttdeci">Message::Ptr setGameScore(int32_t userId, int32_t score, bool force=false, bool disableEditMessage=false, int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="") const</div><div class="ttdoc">Use this method to set the score of the specified user in a game. </div></div> <div class="ttc" id="_user_profile_photos_8h_html"><div class="ttname"><a href="_user_profile_photos_8h.html">UserProfilePhotos.h</a></div></div> <div class="ttc" id="_venue_8h_html"><div class="ttname"><a href="_venue_8h.html">Venue.h</a></div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_af8056aea6a062a5c4c629c7dc5cfe8c0"><div class="ttname"><a href="class_tg_bot_1_1_api.html#af8056aea6a062a5c4c629c7dc5cfe8c0">TgBot::Api::editMessageLiveLocation</a></div><div class="ttdeci">Message::Ptr editMessageLiveLocation(float latitude, float longitude, int64_t chatId=0, int32_t messageId=0, int32_t inlineMessageId=0, const InlineKeyboardMarkup::Ptr replyMarkup=std::make_shared< InlineKeyboardMarkup >()) const </div><div class="ttdoc">Use this method to edit live location messages sent by the bot or via the bot (for inline bots)...</div></div> <div class="ttc" id="class_tg_bot_1_1_bot_html"><div class="ttname"><a href="class_tg_bot_1_1_bot.html">TgBot::Bot</a></div><div class="ttdoc">This object holds other objects specific for this bot instance. </div><div class="ttdef"><b>Definition:</b> <a href="_bot_8h_source.html#l00039">Bot.h:39</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a44ea670c4eecdf100f60be3c90911eec"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a44ea670c4eecdf100f60be3c90911eec">TgBot::Api::unbanChatMember</a></div><div class="ttdeci">bool unbanChatMember(int64_t chatId, int32_t userId) const</div><div class="ttdoc">Use this method to unban a previously kicked user in a supergroup. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a1e2aa3324a8c18532261b7b57f045caf"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a1e2aa3324a8c18532261b7b57f045caf">TgBot::Api::sendDocument</a></div><div class="ttdeci">Message::Ptr sendDocument(int64_t chatId, const InputFile::Ptr document, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) const</div><div class="ttdoc">Use this method to send general files. </div></div> <div class="ttc" id="_input_file_8h_html"><div class="ttname"><a href="_input_file_8h.html">InputFile.h</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a018da546747f0d34a5fa3bdb6a715a07"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a018da546747f0d34a5fa3bdb6a715a07">TgBot::Api::getChatMembersCount</a></div><div class="ttdeci">int32_t getChatMembersCount(int64_t chatId) const</div><div class="ttdoc">Use this method to get the number of members in a chat. Returns Int on success. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a96e0fc377bddcff4e6daadfbe2c06114"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a96e0fc377bddcff4e6daadfbe2c06114">TgBot::Api::editMessageText</a></div><div class="ttdeci">Message::Ptr editMessageText(const std::string &text, int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="", const std::string &parseMode="", bool disableWebPagePreview=false, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) const </div><div class="ttdoc">Use this method to edit text and game messages sent by the bot or via the bot (for inline bots) ...</div></div> <div class="ttc" id="class_tg_bot_1_1_generic_reply_html_aa7bb5f2c5484cb791e1c60c346bbb06f"><div class="ttname"><a href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">TgBot::GenericReply::Ptr</a></div><div class="ttdeci">std::shared_ptr< GenericReply > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="_generic_reply_8h_source.html#l00037">GenericReply.h:37</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a1dd8b4abfb95233c70b7436515ca680d"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a1dd8b4abfb95233c70b7436515ca680d">TgBot::Api::editMessageReplyMarkup</a></div><div class="ttdeci">Message::Ptr editMessageReplyMarkup(int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="", const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) const</div><div class="ttdoc">Use this method to edit only the reply markup of messages sent by the bot or via the bot (for inline ...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_ace37f034356c0afd60c03799bf263f71"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ace37f034356c0afd60c03799bf263f71">TgBot::Api::setWebhook</a></div><div class="ttdeci">void setWebhook(const std::string &url="", const InputFile::Ptr certificate=nullptr, int32_t maxConnection=40, const StringArrayPtr &allowedUpdates=nullptr) const </div><div class="ttdoc">Use this method to specify a url and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified url, containing a JSON-serialized Update. In case of an unsuccessful request, we will give up after a reasonable amount of attempts. </div></div> <div class="ttc" id="class_tg_bot_1_1_input_file_html_a9b1b7a8f913d9c4d4a389d9a4353d94f"><div class="ttname"><a href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">TgBot::InputFile::Ptr</a></div><div class="ttdeci">std::shared_ptr< InputFile > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="_input_file_8h_source.html#l00040">InputFile.h:40</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_acf5818100f3529706d8aa888f3922594"><div class="ttname"><a href="class_tg_bot_1_1_api.html#acf5818100f3529706d8aa888f3922594">TgBot::Api::forwardMessage</a></div><div class="ttdeci">Message::Ptr forwardMessage(int64_t chatId, int64_t fromChatId, int32_t messageId, bool disableNotification=false) const</div><div class="ttdoc">Use this method to forward messages of any kind. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a5479c47ebc9f7385cb78e957351234cd"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a5479c47ebc9f7385cb78e957351234cd">TgBot::Api::sendLocation</a></div><div class="ttdeci">Message::Ptr sendLocation(int64_t chatId, float latitude, float longitude, uint32_t livePeriod=0, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), bool disableNotification=false) const</div><div class="ttdoc">Use this method to send point on the map. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a1a901654ddad96464a5bff3210932fc4"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a1a901654ddad96464a5bff3210932fc4">TgBot::Api::sendChatAction</a></div><div class="ttdeci">void sendChatAction(int64_t chatId, const std::string &action) const </div><div class="ttdoc">Use this method when you need to tell the user that something is happening on the bot&#39;s side...</div></div> <div class="ttc" id="class_tg_bot_1_1_chat_html_a9818e295b599a08b77abefb38de75e48"><div class="ttname"><a href="class_tg_bot_1_1_chat.html#a9818e295b599a08b77abefb38de75e48">TgBot::Chat::Ptr</a></div><div class="ttdeci">std::shared_ptr< Chat > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="_chat_8h_source.html#l00041">Chat.h:41</a></div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a154af6a79db40c4eecc006924836e025"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a154af6a79db40c4eecc006924836e025">TgBot::Api::deleteChatPhoto</a></div><div class="ttdeci">bool deleteChatPhoto(int64_t chatId) const </div><div class="ttdoc">Use this method to delete a chat photo. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_aba162af7ac35baf2259b7c2e41b2ed52"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aba162af7ac35baf2259b7c2e41b2ed52">TgBot::Api::addStickerToSet</a></div><div class="ttdeci">bool addStickerToSet(int32_t userId, const std::string &name, const std::string &title, InputFile::Ptr pngSticker, const std::string &emojis, MaskPosition::Ptr maskPosition=nullptr) const </div><div class="ttdoc">Use this method to add a new sticker to a set created by the bot. </div></div> <div class="ttc" id="class_tg_bot_1_1_api_html_aafc9eac23e52cf9f0831b0b47386f44d"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aafc9eac23e52cf9f0831b0b47386f44d">TgBot::Api::sendVideoNote</a></div><div class="ttdeci">Message::Ptr sendVideoNote(int64_t chatId, const InputFile::Ptr videoNote, int64_t replyToMessageId=0, bool disableNotification=false, int32_t duration=0, int32_t length=0, const GenericReply::Ptr replyMarkup=GenericReply::Ptr())</div><div class="ttdoc">Use this method to send video messages. On success, the sent Message is returned. ...</div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a40937330bcd8dc6c3658c582194653fc"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a40937330bcd8dc6c3658c582194653fc">TgBot::Api::editMessageLiveLocation</a></div><div class="ttdeci">Message::Ptr editMessageLiveLocation(float latitude, float longitude, int64_t chatId=0, int32_t messageId=0, int32_t inlineMessageId=0, const InlineKeyboardMarkup::Ptr replyMarkup=std::make_shared< InlineKeyboardMarkup >()) const</div><div class="ttdoc">Use this method to edit live location messages sent by the bot or via the bot (for inline bots)...</div></div> <div class="ttc" id="_game_high_score_8h_html"><div class="ttname"><a href="_game_high_score_8h.html">GameHighScore.h</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a28d6bda0f615ff1c7063905eb61b5cde"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a28d6bda0f615ff1c7063905eb61b5cde">TgBot::Api::leaveChat</a></div><div class="ttdeci">bool leaveChat(int64_t chatId) const</div><div class="ttdoc">Use this method for your bot to leave a group, supergroup or channel. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a77fe17ad287f702bb021fc92575a0e2d"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a77fe17ad287f702bb021fc92575a0e2d">TgBot::Api::sendChatAction</a></div><div class="ttdeci">void sendChatAction(int64_t chatId, const std::string &action) const</div><div class="ttdoc">Use this method when you need to tell the user that something is happening on the bot&#39;s side...</div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a2d80bc4f88e797fa455c213eb18db012"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a2d80bc4f88e797fa455c213eb18db012">TgBot::Api::uploadStickerFile</a></div><div class="ttdeci">File::Ptr uploadStickerFile(int32_t userId, const InputFile::Ptr pngSticker) const</div><div class="ttdoc">Use this method to upload a .png file with a sticker for later use in createNewStickerSet and addStic...</div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a430f9e036859250345d2125b7688a1f9"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a430f9e036859250345d2125b7688a1f9">TgBot::Api::answerInlineQuery</a></div><div class="ttdeci">bool answerInlineQuery(const std::string &inlineQueryId, const std::vector< InlineQueryResult::Ptr > &results, int32_t cacheTime=300, bool isPersonal=false, const std::string &nextOffset="", const std::string &switchPmText="", const std::string &switchPmParameter="") const</div><div class="ttdoc">Use this method to send answers to an inline query. No mode that 50 results per query are allowed...</div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a648190cc90ed13172bc2327344d0e7f6"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a648190cc90ed13172bc2327344d0e7f6">TgBot::Api::getChatMember</a></div><div class="ttdeci">ChatMember::Ptr getChatMember(int64_t chatId, int32_t userId) const</div><div class="ttdoc">Use this method to get information about a member of a chat. Returns a ChatMember object on success...</div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a958b5a97bddd5c2ff57df30788a4385b"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a958b5a97bddd5c2ff57df30788a4385b">TgBot::Api::setChatPhoto</a></div><div class="ttdeci">bool setChatPhoto(int64_t chatId, const InputFile::Ptr photo) const</div><div class="ttdoc">Use this method to set a new profile photo for the chat. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a8bec931040093bd1a9344041870f47f7"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a8bec931040093bd1a9344041870f47f7">TgBot::Api::sendVideo</a></div><div class="ttdeci">Message::Ptr sendVideo(int64_t chatId, const InputFile::Ptr video, bool supportsStreaming=false, int32_t duration=0, int32_t width=0, int32_t height=0, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) const</div><div class="ttdoc">Use this method to send video files, Telegram clients support mp4 videos (other formats may be sent a...</div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a3dad69c5211708ec8581f2bd6f3265bc"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a3dad69c5211708ec8581f2bd6f3265bc">TgBot::Api::sendMediaGroup</a></div><div class="ttdeci">std::vector< Message::Ptr > sendMediaGroup(int64_t chatId, const std::vector< InputMedia::Ptr > &media, bool disableNotification=false, int32_t replyToMessageId=0) const</div><div class="ttdoc">Use this method to send a group of photos or videos as an album. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a6394ad645519b4faed3f4f64273d3ffd"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a6394ad645519b4faed3f4f64273d3ffd">TgBot::Api::setStickerPositionInSet</a></div><div class="ttdeci">bool setStickerPositionInSet(const std::string &sticker, uint32_t position) const </div><div class="ttdoc">Use this method to move a sticker in a set created by the bot to a specific position. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_ad9985830c9232994f87fa0d7d31a3d8a"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ad9985830c9232994f87fa0d7d31a3d8a">TgBot::Api::sendDocument</a></div><div class="ttdeci">Message::Ptr sendDocument(int64_t chatId, const InputFile::Ptr document, const std::string &caption="", int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) const </div><div class="ttdoc">Use this method to send general files. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_aa0e2429129522a75401bf4f9a034fb21"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aa0e2429129522a75401bf4f9a034fb21">TgBot::Api::unpinChatMessage</a></div><div class="ttdeci">bool unpinChatMessage(int64_t chatId) const </div><div class="ttdoc">Use this method to unpin a message in a supergroup or a channel. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_af924cf5917fcb39f9c3df91a748d0347"><div class="ttname"><a href="class_tg_bot_1_1_api.html#af924cf5917fcb39f9c3df91a748d0347">TgBot::Api::deleteWebhook</a></div><div class="ttdeci">bool deleteWebhook() const </div><div class="ttdoc">Use this method to remove webhook integration if you decide to switch back to getUpdates. </div></div> <div class="ttc" id="_chat_member_8h_html"><div class="ttname"><a href="_chat_member_8h.html">ChatMember.h</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a8fbfde4234553c478987746c43b08e62"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a8fbfde4234553c478987746c43b08e62">TgBot::Api::deleteWebhook</a></div><div class="ttdeci">bool deleteWebhook() const</div><div class="ttdoc">Use this method to remove webhook integration if you decide to switch back to getUpdates. </div></div> <div class="ttc" id="class_tg_bot_1_1_mask_position_html_a37edf3eefbf231ee8ab94a29425b3fe1"><div class="ttname"><a href="class_tg_bot_1_1_mask_position.html#a37edf3eefbf231ee8ab94a29425b3fe1">TgBot::MaskPosition::Ptr</a></div><div class="ttdeci">std::shared_ptr< MaskPosition > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="_mask_position_8h_source.html#l00039">MaskPosition.h:39</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a61fa540a7db9597618b7fb15fe5095a0"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a61fa540a7db9597618b7fb15fe5095a0">TgBot::Api::deleteChatPhoto</a></div><div class="ttdeci">bool deleteChatPhoto(int64_t chatId) const</div><div class="ttdoc">Use this method to delete a chat photo. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a9d5086f523b570a9a6a973abdb15a6b0"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a9d5086f523b570a9a6a973abdb15a6b0">TgBot::Api::sendGame</a></div><div class="ttdeci">Message::Ptr sendGame(int64_t chatId, const std::string &gameShortName, int32_t replyToMessageId=0, const InlineKeyboardMarkup::Ptr replyMarkup=std::make_shared< InlineKeyboardMarkup >(), bool disableNotification=false) const</div><div class="ttdoc">Use this method to send a game. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_abf3e04fb3ea66e0d40c40cef3aa0d5c1"><div class="ttname"><a href="class_tg_bot_1_1_api.html#abf3e04fb3ea66e0d40c40cef3aa0d5c1">TgBot::Api::getMe</a></div><div class="ttdeci">User::Ptr getMe() const </div><div class="ttdoc">A simple method for testing your bot&#39;s auth token. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a9b7cea0c518d27095803b1be9e769f7c"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a9b7cea0c518d27095803b1be9e769f7c">TgBot::Api::answerPreCheckoutQuery</a></div><div class="ttdeci">bool answerPreCheckoutQuery(const std::string &preCheckoutQueryId, bool ok, const std::string &errorMessage="") const </div><div class="ttdoc">Use this method to respond to such pre-checkout queries. </div></div> <div class="ttc" id="class_tg_bot_1_1_api_html_ac0e4615a8944c07e7db3811ee84f2a94"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ac0e4615a8944c07e7db3811ee84f2a94">TgBot::Api::Api</a></div><div class="ttdeci">Api(const std::string &token)</div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a270296c79f52985fca19cacf3ed75d2f"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a270296c79f52985fca19cacf3ed75d2f">TgBot::Api::getStickerSet</a></div><div class="ttdeci">StickerSet::Ptr getStickerSet(const std::string &name) const</div><div class="ttdoc">Use this method to get a sticker set. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a3351e9ee5561453bfa61218ddce8be47"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a3351e9ee5561453bfa61218ddce8be47">TgBot::Api::sendVenue</a></div><div class="ttdeci">Message::Ptr sendVenue(int64_t chatId, float latitude, float longitude, const std::string &title, const std::string &address, const std::string &foursquareId="", bool disableNotification=false, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) const</div><div class="ttdoc">Use this method to send information about a venue. On success, the sent Message is returned...</div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_ad0f68ec32e5878a9fe4f922cd4f13b68"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ad0f68ec32e5878a9fe4f922cd4f13b68">TgBot::Api::sendMessage</a></div><div class="ttdeci">Message::Ptr sendMessage(int64_t chatId, const std::string &text, bool disableWebPagePreview=false, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) const</div><div class="ttdoc">Use this method to send text messages. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a39064867aa8ebfa92495df478228796a"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a39064867aa8ebfa92495df478228796a">TgBot::Api::getGameHighScores</a></div><div class="ttdeci">std::vector< GameHighScore::Ptr > getGameHighScores(int32_t userId, int32_t score, bool force=false, bool disableEditMessage=false, int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="") const</div><div class="ttdoc">Use this method to get data for high score tables. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_ae2233d6a8b8cf51e4be08853d972ba20"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ae2233d6a8b8cf51e4be08853d972ba20">TgBot::Api::getChat</a></div><div class="ttdeci">Chat::Ptr getChat(int64_t chatId) const </div><div class="ttdoc">Use this method to get up to date information about the chat (current name of the user for one-on-one...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_aa2b32e8b322719b0431b3d77b18fb09a"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aa2b32e8b322719b0431b3d77b18fb09a">TgBot::Api::setGameScore</a></div><div class="ttdeci">Message::Ptr setGameScore(int32_t userId, int32_t score, bool force=false, bool disableEditMessage=false, int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="") const </div><div class="ttdoc">Use this method to set the score of the specified user in a game. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_aa2d667d976f4c6e19f3df9473f5b0cb4"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aa2d667d976f4c6e19f3df9473f5b0cb4">TgBot::Api::getChatMember</a></div><div class="ttdeci">ChatMember::Ptr getChatMember(int64_t chatId, int32_t userId) const </div><div class="ttdoc">Use this method to get information about a member of a chat. Returns a ChatMember object on success...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a2638761a2ac9a220fd6bb47185cfeff8"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a2638761a2ac9a220fd6bb47185cfeff8">TgBot::Api::answerShippingQuery</a></div><div class="ttdeci">bool answerShippingQuery(const std::string &shippingQueryId, bool ok, const std::vector< ShippingOption::Ptr > &shippingOptions=std::vector< ShippingOption::Ptr >(), const std::string &errorMessage="") const </div><div class="ttdoc">Use this method to reply to shipping queries. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a7c737b0c3cc0b9f3894ac51d9210fba0"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a7c737b0c3cc0b9f3894ac51d9210fba0">TgBot::Api::editMessageReplyMarkup</a></div><div class="ttdeci">Message::Ptr editMessageReplyMarkup(int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="", const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) const </div><div class="ttdoc">Use this method to edit only the reply markup of messages sent by the bot or via the bot (for inline ...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_af0b6c399430facc369c5592aa1ecf161"><div class="ttname"><a href="class_tg_bot_1_1_api.html#af0b6c399430facc369c5592aa1ecf161">TgBot::Api::kickChatMember</a></div><div class="ttdeci">bool kickChatMember(int64_t chatId, int32_t userId, uint64_t untilDate=0) const </div><div class="ttdoc">Use this method to kick a user from a group or a supergroup. </div></div> <div class="ttc" id="_user_8h_html"><div class="ttname"><a href="_user_8h.html">User.h</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a2fd133b562c8bcad74d4b76e4fdbc5b8"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a2fd133b562c8bcad74d4b76e4fdbc5b8">TgBot::Api::getChatAdministrators</a></div><div class="ttdeci">std::vector< ChatMember::Ptr > getChatAdministrators(int64_t chatId) const</div><div class="ttdoc">Use this method to get a list of administrators in a chat. On success, returns an Array of ChatMember...</div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_ad3751d4b049e8f7b1d845d041370df98"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ad3751d4b049e8f7b1d845d041370df98">TgBot::Api::stopMessageLiveLocation</a></div><div class="ttdeci">Message::Ptr stopMessageLiveLocation(int64_t chatId=0, int32_t messageId=0, int32_t inlineMessageId=0, const InlineKeyboardMarkup::Ptr replyMarkup=std::make_shared< InlineKeyboardMarkup >()) const</div><div class="ttdoc">Use this method to edit live location messages sent by the bot or via the bot (for inline bots)...</div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a979612d47e46ed29bc9d2e7ab1addb7e"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a979612d47e46ed29bc9d2e7ab1addb7e">TgBot::Api::editMessageCaption</a></div><div class="ttdeci">Message::Ptr editMessageCaption(int64_t chatId=0, int32_t messageId=0, const std::string &caption="", const std::string &inlineMessageId="", const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) const</div><div class="ttdoc">Use this method to edit captions of messages sent by the bot or via the bot (for inline bots)...</div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_ad77e4687f7536606890a3db42ff5de1f"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ad77e4687f7536606890a3db42ff5de1f">TgBot::Api::restrictChatMember</a></div><div class="ttdeci">bool restrictChatMember(int64_t chatId, int32_t userId, uint64_t untilDate=0, bool canSendMessages=false, bool canSendMediaMessages=false, bool canSendOtherMessages=false, bool canAddWebPagePreviews=false) const</div><div class="ttdoc">Use this method to restrict a user in a supergroup. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_aa605f96bd5de1a3a432e14a160bac210"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aa605f96bd5de1a3a432e14a160bac210">TgBot::Api::getUserProfilePhotos</a></div><div class="ttdeci">UserProfilePhotos::Ptr getUserProfilePhotos(int32_t userId, int32_t offset=0, int32_t limit=100) const</div><div class="ttdoc">Use this method to get a list of profile pictures for a user. </div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a5b0cf2c9b99bd1376def02fb698b8076"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a5b0cf2c9b99bd1376def02fb698b8076">TgBot::Api::exportChatInviteLink</a></div><div class="ttdeci">std::string exportChatInviteLink(int64_t chatId) const</div><div class="ttdoc">Use this method to generate a new invite link for a chat; any previously generated link is revoked...</div></div> +<div class="ttc" id="_shipping_option_8h_html"><div class="ttname"><a href="_shipping_option_8h.html">ShippingOption.h</a></div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a1f57d0622b6dc52d64f590e4468c20f8"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a1f57d0622b6dc52d64f590e4468c20f8">TgBot::Api::sendGame</a></div><div class="ttdeci">Message::Ptr sendGame(int64_t chatId, const std::string &gameShortName, int32_t replyToMessageId=0, const InlineKeyboardMarkup::Ptr replyMarkup=std::make_shared< InlineKeyboardMarkup >(), bool disableNotification=false) const </div><div class="ttdoc">Use this method to send a game. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a79fe90a632c8f2579ec8e371a42cb607"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a79fe90a632c8f2579ec8e371a42cb607">TgBot::Api::pinChatMessage</a></div><div class="ttdeci">bool pinChatMessage(int64_t chatId, int32_t messageId, bool disableNotification=false) const </div><div class="ttdoc">Use this method to pin a message in a supergroup or a channel. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a093648c83194f1fef00c3cf3fbec3ae4"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a093648c83194f1fef00c3cf3fbec3ae4">TgBot::Api::downloadFile</a></div><div class="ttdeci">std::string downloadFile(const std::string &filePath, const std::vector< HttpReqArg > &args=std::vector< HttpReqArg >()) const </div><div class="ttdoc">Downloads file from Telegram and saves it in memory. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_afa6fd752ac02553795bfef4290f9fb66"><div class="ttname"><a href="class_tg_bot_1_1_api.html#afa6fd752ac02553795bfef4290f9fb66">TgBot::Api::sendLocation</a></div><div class="ttdeci">Message::Ptr sendLocation(int64_t chatId, float latitude, float longitude, uint32_t livePeriod=0, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), bool disableNotification=false) const </div><div class="ttdoc">Use this method to send point on the map. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_aa680466fe9910e2c923717519bb90223"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aa680466fe9910e2c923717519bb90223">TgBot::Api::setChatTitle</a></div><div class="ttdeci">bool setChatTitle(int64_t chatId, const std::string &title) const </div><div class="ttdoc">Use this method to change the title of a chat. </div></div> <div class="ttc" id="class_tg_bot_1_1_chat_member_html_a7c14c867a129ac28396b680c79dc495d"><div class="ttname"><a href="class_tg_bot_1_1_chat_member.html#a7c14c867a129ac28396b680c79dc495d">TgBot::ChatMember::Ptr</a></div><div class="ttdeci">std::shared_ptr< ChatMember > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="_chat_member_8h_source.html#l00022">ChatMember.h:22</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_af961a33f53579fee24090059dab328ea"><div class="ttname"><a href="class_tg_bot_1_1_api.html#af961a33f53579fee24090059dab328ea">TgBot::Api::setWebhook</a></div><div class="ttdeci">void setWebhook(const std::string &url="", const InputFile::Ptr certificate=nullptr, int32_t maxConnection=40, const StringArrayPtr &allowedUpdates=nullptr) const</div><div class="ttdoc">Use this method to specify a url and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified url, containing a JSON-serialized Update. In case of an unsuccessful request, we will give up after a reasonable amount of attempts. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a1938236a7e5fb80b60061d2edcbcbabc"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a1938236a7e5fb80b60061d2edcbcbabc">TgBot::Api::promoteChatMember</a></div><div class="ttdeci">bool promoteChatMember(int64_t chatId, int32_t userId, bool canChangeInfo=false, bool canPostMessages=false, bool canEditMessages=false, bool canDeleteMessages=false, bool canInviteUsers=false, bool canPinMessages=false, bool canPromoteMembers=false) const </div><div class="ttdoc">Use this method to promote or demote a user in a supergroup or a channel. </div></div> +<div class="ttc" id="_labeled_price_8h_html"><div class="ttname"><a href="_labeled_price_8h.html">LabeledPrice.h</a></div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a53c636b18acde8eacdb26201808ad217"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a53c636b18acde8eacdb26201808ad217">TgBot::Api::setChatPhoto</a></div><div class="ttdeci">bool setChatPhoto(int64_t chatId, const InputFile::Ptr photo) const </div><div class="ttdoc">Use this method to set a new profile photo for the chat. </div></div> <div class="ttc" id="_file_8h_html"><div class="ttname"><a href="_file_8h.html">File.h</a></div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_aaf32b01ea203366959676afd98e8d7e2"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aaf32b01ea203366959676afd98e8d7e2">TgBot::Api::editMessageText</a></div><div class="ttdeci">Message::Ptr editMessageText(const std::string &text, int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="", const std::string &parseMode="", bool disableWebPagePreview=false, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) const</div><div class="ttdoc">Use this method to edit text and game messages sent by the bot or via the bot (for inline bots) ...</div></div> -<div class="ttc" id="class_tg_bot_1_1_api_html_a0b77fde611ecb916b5975a7ab9fa87f7"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a0b77fde611ecb916b5975a7ab9fa87f7">TgBot::Api::setStickerPositionInSet</a></div><div class="ttdeci">bool setStickerPositionInSet(const std::string &sticker, uint32_t position) const</div><div class="ttdoc">Use this method to move a sticker in a set created by the bot to a specific position. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a34017cf57676c8a0255f3083f12a9d65"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a34017cf57676c8a0255f3083f12a9d65">TgBot::Api::editMessageCaption</a></div><div class="ttdeci">Message::Ptr editMessageCaption(int64_t chatId=0, int32_t messageId=0, const std::string &caption="", const std::string &inlineMessageId="", const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) const </div><div class="ttdoc">Use this method to edit captions of messages sent by the bot or via the bot (for inline bots)...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a4f052f6b5912c95ca7e2a98e19a49715"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a4f052f6b5912c95ca7e2a98e19a49715">TgBot::Api::deleteStickerPositionInSet</a></div><div class="ttdeci">bool deleteStickerPositionInSet(const std::string &sticker) const </div><div class="ttdoc">Use this method to delete a sticker from a set created by the bot. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a06a2a2462af86f236e6524d9dc4c3e0a"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a06a2a2462af86f236e6524d9dc4c3e0a">TgBot::Api::sendMessage</a></div><div class="ttdeci">Message::Ptr sendMessage(int64_t chatId, const std::string &text, bool disableWebPagePreview=false, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) const </div><div class="ttdoc">Use this method to send text messages. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a87abb412b48b905e8cea6262c410363b"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a87abb412b48b905e8cea6262c410363b">TgBot::Api::restrictChatMember</a></div><div class="ttdeci">bool restrictChatMember(int64_t chatId, int32_t userId, uint64_t untilDate=0, bool canSendMessages=false, bool canSendMediaMessages=false, bool canSendOtherMessages=false, bool canAddWebPagePreviews=false) const </div><div class="ttdoc">Use this method to restrict a user in a supergroup. </div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a6061ec1d126165709955b526b17fd2c2"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a6061ec1d126165709955b526b17fd2c2">TgBot::Api::exportChatInviteLink</a></div><div class="ttdeci">std::string exportChatInviteLink(int64_t chatId) const </div><div class="ttdoc">Use this method to generate a new invite link for a chat; any previously generated link is revoked...</div></div> +<div class="ttc" id="class_tg_bot_1_1_api_html_a27558973e48073b292ad49e613c7da8e"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a27558973e48073b292ad49e613c7da8e">TgBot::Api::getWebhookInfo</a></div><div class="ttdeci">WebhookInfo::Ptr getWebhookInfo() const </div><div class="ttdoc">Use this method to get current webhook status. </div></div> <div class="ttc" id="class_tg_bot_1_1_user_html_ae6ea24aef677abaaf0fd7d60adf5be79"><div class="ttname"><a href="class_tg_bot_1_1_user.html#ae6ea24aef677abaaf0fd7d60adf5be79">TgBot::User::Ptr</a></div><div class="ttdeci">std::shared_ptr< User > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="_user_8h_source.html#l00039">User.h:39</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="class_tg_bot_1_1_api_html_a40a68303a485e8dc778af103fefa76a4"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a40a68303a485e8dc778af103fefa76a4">TgBot::Api::leaveChat</a></div><div class="ttdeci">bool leaveChat(int64_t chatId) const </div><div class="ttdoc">Use this method for your bot to leave a group, supergroup or channel. </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_25b26b9fa3b0bd1537052b03f43dd617.html">tgbot</a></li><li class="navelem"><a class="el" href="_api_8h.html">Api.h</a></li> - <li class="footer">Generated on Tue Jun 5 2018 19:07:14 for tgbot-cpp by + <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.13 </li> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li> </ul> </div> </body> |