diff options
Diffstat (limited to 'docs/_api_8h_source.html')
-rw-r--r-- | docs/_api_8h_source.html | 215 |
1 files changed, 0 insertions, 215 deletions
diff --git a/docs/_api_8h_source.html b/docs/_api_8h_source.html deleted file mode 100644 index 5ed6e9f..0000000 --- a/docs/_api_8h_source.html +++ /dev/null @@ -1,215 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.11"/> -<title>tgbot-cpp: include/tgbot/Api.h Source File</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="navtree.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="resize.js"></script> -<script type="text/javascript" src="navtreedata.js"></script> -<script type="text/javascript" src="navtree.js"></script> -<script type="text/javascript"> - $(document).ready(initResizable); - $(window).load(resizeHeight); -</script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<script type="text/javascript"> - $(document).ready(function() { init_search(); }); -</script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">tgbot-cpp - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.11 --> -<script type="text/javascript"> -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -</script> - <div id="navrow1" class="tabs"> - <ul class="tablist"> - <li><a href="index.html"><span>Main 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"> - <div id="nav-tree-contents"> - <div id="nav-sync" class="sync"></div> - </div> - </div> - <div id="splitbar" style="-moz-user-select:none;" - class="ui-resizable-handle"> - </div> -</div> -<script type="text/javascript"> -$(document).ready(function(){initNavTree('_api_8h_source.html','');}); -</script> -<div id="doc-content"> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div class="header"> - <div class="headertitle"> -<div class="title">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> <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_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_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_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_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_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_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="_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="_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_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_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_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="_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_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_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_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_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="_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_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_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 Fri Jun 22 2018 22:14:16 for tgbot-cpp by - <a href="http://www.doxygen.org/index.html"> - <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li> - </ul> -</div> -</body> -</html> |