1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
<!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<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);
</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>
<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.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- 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> </div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="namespace_tg_bot.html"> 46</a></span> <span class="keyword">namespace </span><a class="code" href="namespace_tg_bot.html">TgBot</a> {</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</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="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="class_tg_bot_1_1_api.html"> 54</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="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">typedef</span> std::shared_ptr<std::vector<std::string>> StringArrayPtr;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="class_tg_bot_1_1_api.html#afb5d57ac6b56fe83e7894e3b686c3339"> 58</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="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</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="l00062"></a><span class="lineno"> 62</span> </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="class_tg_bot_1_1_user.html#ae6ea24aef677abaaf0fd7d60adf5be79">User::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a566fcf52400de18737110edd7ab01535">getMe</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ad0f68ec32e5878a9fe4f922cd4f13b68">sendMessage</a>(int64_t chatId, <span class="keyword">const</span> std::string& text, <span class="keywordtype">bool</span> disableWebPagePreview = <span class="keyword">false</span>, int32_t replyToMessageId = 0, <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="l00081"></a><span class="lineno"> 81</span> </div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#acf5818100f3529706d8aa888f3922594">forwardMessage</a>(int64_t chatId, int64_t fromChatId, int32_t messageId, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</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#a71bb086a1247df2ec28b47d86ebb3709">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="l00103"></a><span class="lineno"> 103</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="l00104"></a><span class="lineno"> 104</span> </div><div class="line"><a name="l00115"></a><span class="lineno"> 115</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#a71bb086a1247df2ec28b47d86ebb3709">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="l00116"></a><span class="lineno"> 116</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="l00117"></a><span class="lineno"> 117</span> </div><div class="line"><a name="l00131"></a><span class="lineno"> 131</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#aa7a1d9cef9cdbdad3b82f020b5395dd8">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="l00132"></a><span class="lineno"> 132</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="l00133"></a><span class="lineno"> 133</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="l00134"></a><span class="lineno"> 134</span> </div><div class="line"><a name="l00148"></a><span class="lineno"> 148</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#aa7a1d9cef9cdbdad3b82f020b5395dd8">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="l00149"></a><span class="lineno"> 149</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="l00150"></a><span class="lineno"> 150</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="l00151"></a><span class="lineno"> 151</span> </div><div class="line"><a name="l00162"></a><span class="lineno"> 162</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#ac10306656a242bd3818731dc818a9ebd">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="l00163"></a><span class="lineno"> 163</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="l00164"></a><span class="lineno"> 164</span> </div><div class="line"><a name="l00175"></a><span class="lineno"> 175</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#ac10306656a242bd3818731dc818a9ebd">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="l00176"></a><span class="lineno"> 176</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="l00177"></a><span class="lineno"> 177</span> </div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ab7767c4474092f5fee78150394ae0ef2">sendSticker</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> sticker, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</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="l00189"></a><span class="lineno"> 189</span> </div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ab7767c4474092f5fee78150394ae0ef2">sendSticker</a>(int64_t chatId, <span class="keyword">const</span> std::string& stickerId, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</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="l00201"></a><span class="lineno"> 201</span> </div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <a class="code" href="class_tg_bot_1_1_sticker_set.html#ad3c58f08ddacdb946507cd96a3d54421">StickerSet::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a270296c79f52985fca19cacf3ed75d2f">getStickerSet</a>(<span class="keyword">const</span> std::string& name) <span class="keyword">const</span>;</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  </div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <a class="code" href="class_tg_bot_1_1_file.html#ac47e9c73b9d762eef2322c0932c5a934">File::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a2d80bc4f88e797fa455c213eb18db012">uploadStickerFile</a>(int32_t userId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> pngSticker) <span class="keyword">const</span>;</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span> </div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a378064e036f99e8f2a9c5a70c5e2c33c">createNewStickerSet</a>(int32_t userId, <span class="keyword">const</span> std::string& name, <span class="keyword">const</span> std::string& title,</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</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="l00230"></a><span class="lineno"> 230</span> </div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a378064e036f99e8f2a9c5a70c5e2c33c">createNewStickerSet</a>(int32_t userId, <span class="keyword">const</span> std::string& name, <span class="keyword">const</span> std::string& title,</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</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="l00244"></a><span class="lineno"> 244</span> </div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a48af7fd639ee071eac165e49c75cc6d0">addStickerToSet</a>(int32_t userId, <span class="keyword">const</span> std::string& name, <span class="keyword">const</span> std::string& title,</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</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="l00257"></a><span class="lineno"> 257</span> </div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a48af7fd639ee071eac165e49c75cc6d0">addStickerToSet</a>(int32_t userId, <span class="keyword">const</span> std::string& name, <span class="keyword">const</span> std::string& title,</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</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="l00270"></a><span class="lineno"> 270</span> </div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a0b77fde611ecb916b5975a7ab9fa87f7">setStickerPositionInSet</a>(<span class="keyword">const</span> std::string& sticker, uint32_t position) <span class="keyword">const</span>;</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span> </div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#af63bf4b6ac63ad077abd7bb4056b3cc5">deleteStickerPositionInSet</a>(<span class="keyword">const</span> std::string& sticker) <span class="keyword">const</span>;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span> </div><div class="line"><a name="l00299"></a><span class="lineno"> 299</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#af4effdd5b22ef4dbaa7b739672bd3ed4">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, 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="l00300"></a><span class="lineno"> 300</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="l00301"></a><span class="lineno"> 301</span> </div><div class="line"><a name="l00315"></a><span class="lineno"> 315</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#af4effdd5b22ef4dbaa7b739672bd3ed4">sendVideo</a>(int64_t chatId, <span class="keyword">const</span> std::string& videoId, 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="l00316"></a><span class="lineno"> 316</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="l00317"></a><span class="lineno"> 317</span> </div><div class="line"><a name="l00329"></a><span class="lineno"> 329</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="l00330"></a><span class="lineno"> 330</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="l00331"></a><span class="lineno"> 331</span> </div><div class="line"><a name="l00343"></a><span class="lineno"> 343</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="l00344"></a><span class="lineno"> 344</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="l00345"></a><span class="lineno"> 345</span> </div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  std::vector<Message::Ptr> <a class="code" href="class_tg_bot_1_1_api.html#a3dad69c5211708ec8581f2bd6f3265bc">sendMediaGroup</a>(int64_t chatId, <span class="keyword">const</span> std::vector<InputMedia::Ptr>& media,</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</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="l00356"></a><span class="lineno"> 356</span> </div><div class="line"><a name="l00368"></a><span class="lineno"> 368</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#ad3ba1e59ffab66acad0e555cc016e05f">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="l00369"></a><span class="lineno"> 369</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="l00370"></a><span class="lineno"> 370</span> </div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ad3ba1e59ffab66acad0e555cc016e05f">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="l00383"></a><span class="lineno"> 383</span>  <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a> replyMarkup = std::make_shared<GenericReply>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span> </div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a5479c47ebc9f7385cb78e957351234cd">sendLocation</a>(int64_t chatId, <span class="keywordtype">float</span> latitude, <span class="keywordtype">float</span> longitude, uint32_t livePeriod = 0,</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</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="l00398"></a><span class="lineno"> 398</span> </div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a40937330bcd8dc6c3658c582194653fc">editMessageLiveLocation</a>(<span class="keywordtype">float</span> latitude, <span class="keywordtype">float</span> longitude, int64_t chatId = 0, int32_t messageId = 0,</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</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="l00411"></a><span class="lineno"> 411</span> </div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ad3751d4b049e8f7b1d845d041370df98">stopMessageLiveLocation</a>(int64_t chatId = 0, int32_t messageId = 0, int32_t inlineMessageId = 0,</div><div class="line"><a name="l00421"></a><span class="lineno"> 421</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="l00422"></a><span class="lineno"> 422</span> </div><div class="line"><a name="l00423"></a><span class="lineno"> 423</span> </div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a3351e9ee5561453bfa61218ddce8be47">sendVenue</a>(int64_t chatId, <span class="keywordtype">float</span> latitude, <span class="keywordtype">float</span> longitude, <span class="keyword">const</span> std::string& title, <span class="keyword">const</span> std::string& address, <span class="keyword">const</span> std::string& foursquareId = <span class="stringliteral">""</span>,</div><div class="line"><a name="l00438"></a><span class="lineno"> 438</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="l00439"></a><span class="lineno"> 439</span> </div><div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a29f67a91434a7ce8b017f103419f23c4">sendContact</a>(int64_t chatId, <span class="keyword">const</span> std::string& phoneNumber, <span class="keyword">const</span> std::string& firstName, <span class="keyword">const</span> std::string& lastName = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>,</div><div class="line"><a name="l00452"></a><span class="lineno"> 452</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="l00453"></a><span class="lineno"> 453</span> </div><div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <span class="keywordtype">void</span> <a class="code" href="class_tg_bot_1_1_api.html#a77fe17ad287f702bb021fc92575a0e2d">sendChatAction</a>(int64_t chatId, <span class="keyword">const</span> std::string& action) <span class="keyword">const</span>;</div><div class="line"><a name="l00462"></a><span class="lineno"> 462</span> </div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  <a class="code" href="class_tg_bot_1_1_user_profile_photos.html#a734352c5b115ea29e639f01462187d55">UserProfilePhotos::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#aa605f96bd5de1a3a432e14a160bac210">getUserProfilePhotos</a>(int32_t userId, int32_t offset = 0, int32_t limit = 100) <span class="keyword">const</span>;</div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span> </div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  <a class="code" href="class_tg_bot_1_1_file.html#ac47e9c73b9d762eef2322c0932c5a934">File::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ac50bdd50bf0cf5a211e699925759ebc1">getFile</a>(<span class="keyword">const</span> std::string &fileId) <span class="keyword">const</span>;</div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span> </div><div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a28d6bda0f615ff1c7063905eb61b5cde">leaveChat</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00485"></a><span class="lineno"> 485</span> </div><div class="line"><a name="l00491"></a><span class="lineno"> 491</span>  <a class="code" href="class_tg_bot_1_1_chat.html#a9818e295b599a08b77abefb38de75e48">Chat::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#ad042b4d7f03f45eb59acb68085faaa23">getChat</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00492"></a><span class="lineno"> 492</span> </div><div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  std::vector<ChatMember::Ptr> <a class="code" href="class_tg_bot_1_1_api.html#a2fd133b562c8bcad74d4b76e4fdbc5b8">getChatAdministrators</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span> </div><div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  int32_t <a class="code" href="class_tg_bot_1_1_api.html#a018da546747f0d34a5fa3bdb6a715a07">getChatMembersCount</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00506"></a><span class="lineno"> 506</span> </div><div class="line"><a name="l00513"></a><span class="lineno"> 513</span>  <a class="code" href="class_tg_bot_1_1_chat_member.html#a7c14c867a129ac28396b680c79dc495d">ChatMember::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a648190cc90ed13172bc2327344d0e7f6">getChatMember</a>(int64_t chatId, int32_t userId) <span class="keyword">const</span>;</div><div class="line"><a name="l00514"></a><span class="lineno"> 514</span> </div><div class="line"><a name="l00521"></a><span class="lineno"> 521</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#aafb54206146f5b9510ef89026d0b8589">setChatStickerSet</a>(int64_t chatId, <span class="keyword">const</span> std::string& stickerSetName) <span class="keyword">const</span>;</div><div class="line"><a name="l00522"></a><span class="lineno"> 522</span> </div><div class="line"><a name="l00528"></a><span class="lineno"> 528</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a885e70f75a1def9b953290aea2991c42">deleteChatStickerSet</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00529"></a><span class="lineno"> 529</span> </div><div class="line"><a name="l00530"></a><span class="lineno"> 530</span> </div><div class="line"><a name="l00540"></a><span class="lineno"> 540</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a2f73414941d8bb67ff3721a674274bf8">answerCallbackQuery</a>(<span class="keyword">const</span> std::string & callbackQueryId, <span class="keyword">const</span> std::string & text=<span class="stringliteral">""</span>, <span class="keywordtype">bool</span> showAlert=<span class="keyword">false</span>, <span class="keyword">const</span> std::string &url=<span class="stringliteral">""</span>, int32_t cacheTime=0) <span class="keyword">const</span>;</div><div class="line"><a name="l00541"></a><span class="lineno"> 541</span> </div><div class="line"><a name="l00553"></a><span class="lineno"> 553</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#aaf32b01ea203366959676afd98e8d7e2">editMessageText</a>(<span class="keyword">const</span> std::string& text, int64_t chatId=0, int32_t messageId=0, <span class="keyword">const</span> std::string& inlineMessageId=<span class="stringliteral">""</span>,</div><div class="line"><a name="l00554"></a><span class="lineno"> 554</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="l00555"></a><span class="lineno"> 555</span> </div><div class="line"><a name="l00565"></a><span class="lineno"> 565</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a979612d47e46ed29bc9d2e7ab1addb7e">editMessageCaption</a>(int64_t chatId = 0, int32_t messageId = 0, <span class="keyword">const</span> std::string& caption = <span class="stringliteral">""</span>,</div><div class="line"><a name="l00566"></a><span class="lineno"> 566</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="l00567"></a><span class="lineno"> 567</span> </div><div class="line"><a name="l00576"></a><span class="lineno"> 576</span>  <a class="code" href="class_tg_bot_1_1_message.html#a3805a5dc013c6ab23ac5efc91282c11d">Message::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a1dd8b4abfb95233c70b7436515ca680d">editMessageReplyMarkup</a>(int64_t chatId = 0, int32_t messageId = 0, <span class="keyword">const</span> std::string& inlineMessageId = <span class="stringliteral">""</span>,</div><div class="line"><a name="l00577"></a><span class="lineno"> 577</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="l00578"></a><span class="lineno"> 578</span> </div><div class="line"><a name="l00584"></a><span class="lineno"> 584</span>  <span class="keywordtype">void</span> <a class="code" href="class_tg_bot_1_1_api.html#a963570ff375bced1e5b21246082365f1">deleteMessage</a>(int64_t chatId, int32_t messageId) <span class="keyword">const</span>;</div><div class="line"><a name="l00585"></a><span class="lineno"> 585</span> </div><div class="line"><a name="l00596"></a><span class="lineno"> 596</span>  std::vector<Update::Ptr> <a class="code" href="class_tg_bot_1_1_api.html#abd10abcfaf859c63cab0526b8c9179c9">getUpdates</a>(int32_t offset = 0, int32_t limit = 100, int32_t timeout = 0, <span class="keyword">const</span> StringArrayPtr &allowedUpdates = <span class="keyword">nullptr</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00597"></a><span class="lineno"> 597</span> </div><div class="line"><a name="l00606"></a><span class="lineno"> 606</span>  <span class="keywordtype">void</span> <a class="code" href="class_tg_bot_1_1_api.html#af961a33f53579fee24090059dab328ea">setWebhook</a>(<span class="keyword">const</span> std::string& url = <span class="stringliteral">""</span>, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> certificate = <span class="keyword">nullptr</span>, int32_t maxConnection = 40, <span class="keyword">const</span> StringArrayPtr &allowedUpdates = <span class="keyword">nullptr</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00607"></a><span class="lineno"> 607</span> </div><div class="line"><a name="l00612"></a><span class="lineno"> 612</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a8fbfde4234553c478987746c43b08e62">deleteWebhook</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00613"></a><span class="lineno"> 613</span> </div><div class="line"><a name="l00619"></a><span class="lineno"> 619</span>  <a class="code" href="class_tg_bot_1_1_webhook_info.html#a2280093713d1304207d8bba2204648d6">WebhookInfo::Ptr</a> <a class="code" href="class_tg_bot_1_1_api.html#a43bf35783ec4f9a03e46925e36fda24c">getWebhookInfo</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00620"></a><span class="lineno"> 620</span> </div><div class="line"><a name="l00633"></a><span class="lineno"> 633</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a430f9e036859250345d2125b7688a1f9">answerInlineQuery</a>(<span class="keyword">const</span> std::string& inlineQueryId, <span class="keyword">const</span> std::vector<InlineQueryResult::Ptr>& results,</div><div class="line"><a name="l00634"></a><span class="lineno"> 634</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="l00635"></a><span class="lineno"> 635</span> </div><div class="line"><a name="l00643"></a><span class="lineno"> 643</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a3b85e962cd7ed5df9f4204b8424aabef">kickChatMember</a>(int64_t chatId, int32_t userId, uint64_t untilDate = 0) <span class="keyword">const</span>;</div><div class="line"><a name="l00644"></a><span class="lineno"> 644</span> </div><div class="line"><a name="l00651"></a><span class="lineno"> 651</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a44ea670c4eecdf100f60be3c90911eec">unbanChatMember</a>(int64_t chatId, int32_t userId) <span class="keyword">const</span>;</div><div class="line"><a name="l00652"></a><span class="lineno"> 652</span> </div><div class="line"><a name="l00664"></a><span class="lineno"> 664</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#ad77e4687f7536606890a3db42ff5de1f">restrictChatMember</a>(int64_t chatId, int32_t userId, uint64_t untilDate = 0, <span class="keywordtype">bool</span> canSendMessages = <span class="keyword">false</span>,</div><div class="line"><a name="l00665"></a><span class="lineno"> 665</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="l00666"></a><span class="lineno"> 666</span> </div><div class="line"><a name="l00681"></a><span class="lineno"> 681</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a4a701223b6a834b594e216a80695d300">promoteChatMember</a>(int64_t chatId, int32_t userId, <span class="keywordtype">bool</span> canChangeInfo = <span class="keyword">false</span>, <span class="keywordtype">bool</span> canPostMessages = <span class="keyword">false</span>,</div><div class="line"><a name="l00682"></a><span class="lineno"> 682</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="l00683"></a><span class="lineno"> 683</span> </div><div class="line"><a name="l00689"></a><span class="lineno"> 689</span>  std::string <a class="code" href="class_tg_bot_1_1_api.html#a5b0cf2c9b99bd1376def02fb698b8076">exportChatInviteLink</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00690"></a><span class="lineno"> 690</span> </div><div class="line"><a name="l00698"></a><span class="lineno"> 698</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a958b5a97bddd5c2ff57df30788a4385b">setChatPhoto</a>(int64_t chatId, <span class="keyword">const</span> <a class="code" href="class_tg_bot_1_1_input_file.html#a9b1b7a8f913d9c4d4a389d9a4353d94f">InputFile::Ptr</a> photo) <span class="keyword">const</span>;</div><div class="line"><a name="l00699"></a><span class="lineno"> 699</span> </div><div class="line"><a name="l00706"></a><span class="lineno"> 706</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a61fa540a7db9597618b7fb15fe5095a0">deleteChatPhoto</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00707"></a><span class="lineno"> 707</span> </div><div class="line"><a name="l00715"></a><span class="lineno"> 715</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a43c91c467f45e4207968bf6cf1cb3a6e">setChatTitle</a>(int64_t chatId, <span class="keyword">const</span> std::string& title) <span class="keyword">const</span>;</div><div class="line"><a name="l00716"></a><span class="lineno"> 716</span> </div><div class="line"><a name="l00723"></a><span class="lineno"> 723</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#aa9a0592b9a6c3ffe0d05005292b90250">setChatDescription</a>(int64_t chatId, <span class="keyword">const</span> std::string& description) <span class="keyword">const</span>;</div><div class="line"><a name="l00724"></a><span class="lineno"> 724</span> </div><div class="line"><a name="l00732"></a><span class="lineno"> 732</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a84538c3c1ab19dc262b471edb361ad8d">pinChatMessage</a>(int64_t chatId, int32_t messageId, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00733"></a><span class="lineno"> 733</span> </div><div class="line"><a name="l00739"></a><span class="lineno"> 739</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#ae999adb4e101bdf95cdee77867e084fc">unpinChatMessage</a>(int64_t chatId) <span class="keyword">const</span>;</div><div class="line"><a name="l00740"></a><span class="lineno"> 740</span> </div><div class="line"><a name="l00741"></a><span class="lineno"> 741</span> </div><div class="line"><a name="l00748"></a><span class="lineno"> 748</span>  std::string <a class="code" href="class_tg_bot_1_1_api.html#aa60ec06b9171d94ef717f1ac03190f07">downloadFile</a>(<span class="keyword">const</span> std::string& filePath, <span class="keyword">const</span> std::vector<HttpReqArg>& args = std::vector<HttpReqArg>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00749"></a><span class="lineno"> 749</span> </div><div class="line"><a name="l00750"></a><span class="lineno"> 750</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00751"></a><span class="lineno"> 751</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="l00752"></a><span class="lineno"> 752</span> </div><div class="line"><a name="l00753"></a><span class="lineno"> 753</span>  <span class="keyword">const</span> std::string _token;</div><div class="line"><a name="l00754"></a><span class="lineno"> 754</span> };</div><div class="line"><a name="l00755"></a><span class="lineno"> 755</span> </div><div class="line"><a name="l00756"></a><span class="lineno"> 756</span> }</div><div class="line"><a name="l00757"></a><span class="lineno"> 757</span> </div><div class="line"><a name="l00758"></a><span class="lineno"> 758</span> <span class="preprocessor">#endif //TGBOT_CPP_API_H</span></div><div class="ttc" id="class_tg_bot_1_1_api_html_ad042b4d7f03f45eb59acb68085faaa23"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ad042b4d7f03f45eb59acb68085faaa23">TgBot::Api::getChat</a></div><div class="ttdeci">Chat::Ptr getChat(int64_t chatId) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_af4effdd5b22ef4dbaa7b739672bd3ed4"><div class="ttname"><a href="class_tg_bot_1_1_api.html#af4effdd5b22ef4dbaa7b739672bd3ed4">TgBot::Api::sendVideo</a></div><div class="ttdeci">Message::Ptr sendVideo(int64_t chatId, const InputFile::Ptr video, 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 >(), bool disableNotification=false) const</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#l00041">StickerSet.h:41</a></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#l00024">File.h:24</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_a71bb086a1247df2ec28b47d86ebb3709"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a71bb086a1247df2ec28b47d86ebb3709">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 >(), bool disableNotification=false) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a4a701223b6a834b594e216a80695d300"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a4a701223b6a834b594e216a80695d300">TgBot::Api::promoteChatMember</a></div><div class="ttdeci">bool promoteChatMember(int64_t chatId, int32_t userId, bool canChangeInfo=false, bool canPostMessages=false, bool canEditMessages=false, bool canDeleteMessages=false, bool canInviteUsers=false, bool canPinMessages=false, bool canPromoteMembers=false) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_ae999adb4e101bdf95cdee77867e084fc"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ae999adb4e101bdf95cdee77867e084fc">TgBot::Api::unpinChatMessage</a></div><div class="ttdeci">bool unpinChatMessage(int64_t chatId) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_aa60ec06b9171d94ef717f1ac03190f07"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aa60ec06b9171d94ef717f1ac03190f07">TgBot::Api::downloadFile</a></div><div class="ttdeci">std::string downloadFile(const std::string &filePath, const std::vector< HttpReqArg > &args=std::vector< HttpReqArg >()) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_abd10abcfaf859c63cab0526b8c9179c9"><div class="ttname"><a href="class_tg_bot_1_1_api.html#abd10abcfaf859c63cab0526b8c9179c9">TgBot::Api::getUpdates</a></div><div class="ttdeci">std::vector< Update::Ptr > getUpdates(int32_t offset=0, int32_t limit=100, int32_t timeout=0, const StringArrayPtr &allowedUpdates=nullptr) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_ac50bdd50bf0cf5a211e699925759ebc1"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ac50bdd50bf0cf5a211e699925759ebc1">TgBot::Api::getFile</a></div><div class="ttdeci">File::Ptr getFile(const std::string &fileId) const</div></div>
<div class="ttc" id="_webhook_info_8h_html"><div class="ttname"><a href="_webhook_info_8h.html">WebhookInfo.h</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_aa9a0592b9a6c3ffe0d05005292b90250"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aa9a0592b9a6c3ffe0d05005292b90250">TgBot::Api::setChatDescription</a></div><div class="ttdeci">bool setChatDescription(int64_t chatId, const std::string &description) const</div></div>
<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#l00046">Api.h:46</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a43c91c467f45e4207968bf6cf1cb3a6e"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a43c91c467f45e4207968bf6cf1cb3a6e">TgBot::Api::setChatTitle</a></div><div class="ttdeci">bool setChatTitle(int64_t chatId, const std::string &title) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a3b85e962cd7ed5df9f4204b8424aabef"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a3b85e962cd7ed5df9f4204b8424aabef">TgBot::Api::kickChatMember</a></div><div class="ttdeci">bool kickChatMember(int64_t chatId, int32_t userId, uint64_t untilDate=0) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a378064e036f99e8f2a9c5a70c5e2c33c"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a378064e036f99e8f2a9c5a70c5e2c33c">TgBot::Api::createNewStickerSet</a></div><div class="ttdeci">bool createNewStickerSet(int32_t userId, const std::string &name, const std::string &title, InputFile::Ptr pngSticker, const std::string &emojis, bool containsMasks=false, MaskPosition::Ptr maskPosition=nullptr) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a29f67a91434a7ce8b017f103419f23c4"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a29f67a91434a7ce8b017f103419f23c4">TgBot::Api::sendContact</a></div><div class="ttdeci">Message::Ptr sendContact(int64_t chatId, const std::string &phoneNumber, const std::string &firstName, const std::string &lastName="", bool disableNotification=false, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) const</div></div>
<div class="ttc" id="_generic_reply_8h_html"><div class="ttname"><a href="_generic_reply_8h.html">GenericReply.h</a></div></div>
<div class="ttc" id="_update_8h_html"><div class="ttname"><a href="_update_8h.html">Update.h</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a48af7fd639ee071eac165e49c75cc6d0"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a48af7fd639ee071eac165e49c75cc6d0">TgBot::Api::addStickerToSet</a></div><div class="ttdeci">bool addStickerToSet(int32_t userId, const std::string &name, const std::string &title, InputFile::Ptr pngSticker, const std::string &emojis, MaskPosition::Ptr maskPosition=nullptr) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a2f73414941d8bb67ff3721a674274bf8"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a2f73414941d8bb67ff3721a674274bf8">TgBot::Api::answerCallbackQuery</a></div><div class="ttdeci">bool answerCallbackQuery(const std::string &callbackQueryId, const std::string &text="", bool showAlert=false, const std::string &url="", int32_t cacheTime=0) const</div></div>
<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#l00022">InlineKeyboardMarkup.h:22</a></div></div>
<div class="ttc" id="_http_req_arg_8h_html"><div class="ttname"><a href="_http_req_arg_8h.html">HttpReqArg.h</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_ab7767c4474092f5fee78150394ae0ef2"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ab7767c4474092f5fee78150394ae0ef2">TgBot::Api::sendSticker</a></div><div class="ttdeci">Message::Ptr sendSticker(int64_t chatId, const InputFile::Ptr sticker, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), bool disableNotification=false) const</div></div>
<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="ttdef"><b>Definition:</b> <a href="_api_8h_source.html#l00054">Api.h:54</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_aafb54206146f5b9510ef89026d0b8589"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aafb54206146f5b9510ef89026d0b8589">TgBot::Api::setChatStickerSet</a></div><div class="ttdeci">bool setChatStickerSet(int64_t chatId, const std::string &stickerSetName) const</div></div>
<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#l00052">Message.h:52</a></div></div>
<div class="ttc" id="_input_media_8h_html"><div class="ttname"><a href="_input_media_8h.html">InputMedia.h</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a84538c3c1ab19dc262b471edb361ad8d"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a84538c3c1ab19dc262b471edb361ad8d">TgBot::Api::pinChatMessage</a></div><div class="ttdeci">bool pinChatMessage(int64_t chatId, int32_t messageId, bool disableNotification=false) const</div></div>
<div class="ttc" id="_inline_query_result_8h_html"><div class="ttname"><a href="_inline_query_result_8h.html">InlineQueryResult.h</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a566fcf52400de18737110edd7ab01535"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a566fcf52400de18737110edd7ab01535">TgBot::Api::getMe</a></div><div class="ttdeci">User::Ptr getMe() const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_af63bf4b6ac63ad077abd7bb4056b3cc5"><div class="ttname"><a href="class_tg_bot_1_1_api.html#af63bf4b6ac63ad077abd7bb4056b3cc5">TgBot::Api::deleteStickerPositionInSet</a></div><div class="ttdeci">bool deleteStickerPositionInSet(const std::string &sticker) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a963570ff375bced1e5b21246082365f1"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a963570ff375bced1e5b21246082365f1">TgBot::Api::deleteMessage</a></div><div class="ttdeci">void deleteMessage(int64_t chatId, int32_t messageId) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a885e70f75a1def9b953290aea2991c42"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a885e70f75a1def9b953290aea2991c42">TgBot::Api::deleteChatStickerSet</a></div><div class="ttdeci">bool deleteChatStickerSet(int64_t chatId) const</div></div>
<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#l00040">UserProfilePhotos.h:40</a></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#l00020">WebhookInfo.h:20</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a43bf35783ec4f9a03e46925e36fda24c"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a43bf35783ec4f9a03e46925e36fda24c">TgBot::Api::getWebhookInfo</a></div><div class="ttdeci">WebhookInfo::Ptr getWebhookInfo() const</div></div>
<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_bot_html"><div class="ttname"><a href="class_tg_bot_1_1_bot.html">TgBot::Bot</a></div><div class="ttdef"><b>Definition:</b> <a href="_bot_8h_source.html#l00038">Bot.h:38</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a44ea670c4eecdf100f60be3c90911eec"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a44ea670c4eecdf100f60be3c90911eec">TgBot::Api::unbanChatMember</a></div><div class="ttdeci">bool unbanChatMember(int64_t chatId, int32_t userId) const</div></div>
<div class="ttc" id="_input_file_8h_html"><div class="ttname"><a href="_input_file_8h.html">InputFile.h</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a018da546747f0d34a5fa3bdb6a715a07"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a018da546747f0d34a5fa3bdb6a715a07">TgBot::Api::getChatMembersCount</a></div><div class="ttdeci">int32_t getChatMembersCount(int64_t chatId) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_generic_reply_html_aa7bb5f2c5484cb791e1c60c346bbb06f"><div class="ttname"><a href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">TgBot::GenericReply::Ptr</a></div><div class="ttdeci">std::shared_ptr< GenericReply > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="_generic_reply_8h_source.html#l00037">GenericReply.h:37</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a1dd8b4abfb95233c70b7436515ca680d"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a1dd8b4abfb95233c70b7436515ca680d">TgBot::Api::editMessageReplyMarkup</a></div><div class="ttdeci">Message::Ptr editMessageReplyMarkup(int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="", const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) const</div></div>
<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#l00039">InputFile.h:39</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_acf5818100f3529706d8aa888f3922594"><div class="ttname"><a href="class_tg_bot_1_1_api.html#acf5818100f3529706d8aa888f3922594">TgBot::Api::forwardMessage</a></div><div class="ttdeci">Message::Ptr forwardMessage(int64_t chatId, int64_t fromChatId, int32_t messageId, bool disableNotification=false) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a5479c47ebc9f7385cb78e957351234cd"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a5479c47ebc9f7385cb78e957351234cd">TgBot::Api::sendLocation</a></div><div class="ttdeci">Message::Ptr sendLocation(int64_t chatId, float latitude, float longitude, uint32_t livePeriod=0, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), bool disableNotification=false) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_aa7a1d9cef9cdbdad3b82f020b5395dd8"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aa7a1d9cef9cdbdad3b82f020b5395dd8">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 >(), bool disableNotification=false) const</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_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>
<div class="ttc" id="class_tg_bot_1_1_api_html_a40937330bcd8dc6c3658c582194653fc"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a40937330bcd8dc6c3658c582194653fc">TgBot::Api::editMessageLiveLocation</a></div><div class="ttdeci">Message::Ptr editMessageLiveLocation(float latitude, float longitude, int64_t chatId=0, int32_t messageId=0, int32_t inlineMessageId=0, const InlineKeyboardMarkup::Ptr replyMarkup=std::make_shared< InlineKeyboardMarkup >()) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a28d6bda0f615ff1c7063905eb61b5cde"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a28d6bda0f615ff1c7063905eb61b5cde">TgBot::Api::leaveChat</a></div><div class="ttdeci">bool leaveChat(int64_t chatId) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_ac10306656a242bd3818731dc818a9ebd"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ac10306656a242bd3818731dc818a9ebd">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 >(), bool disableNotification=false) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a77fe17ad287f702bb021fc92575a0e2d"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a77fe17ad287f702bb021fc92575a0e2d">TgBot::Api::sendChatAction</a></div><div class="ttdeci">void sendChatAction(int64_t chatId, const std::string &action) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a2d80bc4f88e797fa455c213eb18db012"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a2d80bc4f88e797fa455c213eb18db012">TgBot::Api::uploadStickerFile</a></div><div class="ttdeci">File::Ptr uploadStickerFile(int32_t userId, const InputFile::Ptr pngSticker) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a430f9e036859250345d2125b7688a1f9"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a430f9e036859250345d2125b7688a1f9">TgBot::Api::answerInlineQuery</a></div><div class="ttdeci">bool answerInlineQuery(const std::string &inlineQueryId, const std::vector< InlineQueryResult::Ptr > &results, int32_t cacheTime=300, bool isPersonal=false, const std::string &nextOffset="", const std::string &switchPmText="", const std::string &switchPmParameter="") const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a648190cc90ed13172bc2327344d0e7f6"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a648190cc90ed13172bc2327344d0e7f6">TgBot::Api::getChatMember</a></div><div class="ttdeci">ChatMember::Ptr getChatMember(int64_t chatId, int32_t userId) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a958b5a97bddd5c2ff57df30788a4385b"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a958b5a97bddd5c2ff57df30788a4385b">TgBot::Api::setChatPhoto</a></div><div class="ttdeci">bool setChatPhoto(int64_t chatId, const InputFile::Ptr photo) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a3dad69c5211708ec8581f2bd6f3265bc"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a3dad69c5211708ec8581f2bd6f3265bc">TgBot::Api::sendMediaGroup</a></div><div class="ttdeci">std::vector< Message::Ptr > sendMediaGroup(int64_t chatId, const std::vector< InputMedia::Ptr > &media, bool disableNotification=false, int32_t replyToMessageId=0) const</div></div>
<div class="ttc" id="_chat_member_8h_html"><div class="ttname"><a href="_chat_member_8h.html">ChatMember.h</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a8fbfde4234553c478987746c43b08e62"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a8fbfde4234553c478987746c43b08e62">TgBot::Api::deleteWebhook</a></div><div class="ttdeci">bool deleteWebhook() const</div></div>
<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#l00038">MaskPosition.h:38</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a61fa540a7db9597618b7fb15fe5095a0"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a61fa540a7db9597618b7fb15fe5095a0">TgBot::Api::deleteChatPhoto</a></div><div class="ttdeci">bool deleteChatPhoto(int64_t chatId) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_ac0e4615a8944c07e7db3811ee84f2a94"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ac0e4615a8944c07e7db3811ee84f2a94">TgBot::Api::Api</a></div><div class="ttdeci">Api(const std::string &token)</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a270296c79f52985fca19cacf3ed75d2f"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a270296c79f52985fca19cacf3ed75d2f">TgBot::Api::getStickerSet</a></div><div class="ttdeci">StickerSet::Ptr getStickerSet(const std::string &name) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a3351e9ee5561453bfa61218ddce8be47"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a3351e9ee5561453bfa61218ddce8be47">TgBot::Api::sendVenue</a></div><div class="ttdeci">Message::Ptr sendVenue(int64_t chatId, float latitude, float longitude, const std::string &title, const std::string &address, const std::string &foursquareId="", bool disableNotification=false, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_ad3ba1e59ffab66acad0e555cc016e05f"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ad3ba1e59ffab66acad0e555cc016e05f">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 >(), bool disableNotification=false) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_ad0f68ec32e5878a9fe4f922cd4f13b68"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ad0f68ec32e5878a9fe4f922cd4f13b68">TgBot::Api::sendMessage</a></div><div class="ttdeci">Message::Ptr sendMessage(int64_t chatId, const std::string &text, bool disableWebPagePreview=false, int32_t replyToMessageId=0, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >(), const std::string &parseMode="", bool disableNotification=false) const</div></div>
<div class="ttc" id="_user_8h_html"><div class="ttname"><a href="_user_8h.html">User.h</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a2fd133b562c8bcad74d4b76e4fdbc5b8"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a2fd133b562c8bcad74d4b76e4fdbc5b8">TgBot::Api::getChatAdministrators</a></div><div class="ttdeci">std::vector< ChatMember::Ptr > getChatAdministrators(int64_t chatId) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_ad3751d4b049e8f7b1d845d041370df98"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ad3751d4b049e8f7b1d845d041370df98">TgBot::Api::stopMessageLiveLocation</a></div><div class="ttdeci">Message::Ptr stopMessageLiveLocation(int64_t chatId=0, int32_t messageId=0, int32_t inlineMessageId=0, const InlineKeyboardMarkup::Ptr replyMarkup=std::make_shared< InlineKeyboardMarkup >()) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a979612d47e46ed29bc9d2e7ab1addb7e"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a979612d47e46ed29bc9d2e7ab1addb7e">TgBot::Api::editMessageCaption</a></div><div class="ttdeci">Message::Ptr editMessageCaption(int64_t chatId=0, int32_t messageId=0, const std::string &caption="", const std::string &inlineMessageId="", const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_ad77e4687f7536606890a3db42ff5de1f"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ad77e4687f7536606890a3db42ff5de1f">TgBot::Api::restrictChatMember</a></div><div class="ttdeci">bool restrictChatMember(int64_t chatId, int32_t userId, uint64_t untilDate=0, bool canSendMessages=false, bool canSendMediaMessages=false, bool canSendOtherMessages=false, bool canAddWebPagePreviews=false) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_aa605f96bd5de1a3a432e14a160bac210"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aa605f96bd5de1a3a432e14a160bac210">TgBot::Api::getUserProfilePhotos</a></div><div class="ttdeci">UserProfilePhotos::Ptr getUserProfilePhotos(int32_t userId, int32_t offset=0, int32_t limit=100) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a5b0cf2c9b99bd1376def02fb698b8076"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a5b0cf2c9b99bd1376def02fb698b8076">TgBot::Api::exportChatInviteLink</a></div><div class="ttdeci">std::string exportChatInviteLink(int64_t chatId) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_chat_member_html_a7c14c867a129ac28396b680c79dc495d"><div class="ttname"><a href="class_tg_bot_1_1_chat_member.html#a7c14c867a129ac28396b680c79dc495d">TgBot::ChatMember::Ptr</a></div><div class="ttdeci">std::shared_ptr< ChatMember > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="_chat_member_8h_source.html#l00022">ChatMember.h:22</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_af961a33f53579fee24090059dab328ea"><div class="ttname"><a href="class_tg_bot_1_1_api.html#af961a33f53579fee24090059dab328ea">TgBot::Api::setWebhook</a></div><div class="ttdeci">void setWebhook(const std::string &url="", const InputFile::Ptr certificate=nullptr, int32_t maxConnection=40, const StringArrayPtr &allowedUpdates=nullptr) const</div></div>
<div class="ttc" id="_file_8h_html"><div class="ttname"><a href="_file_8h.html">File.h</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_aaf32b01ea203366959676afd98e8d7e2"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aaf32b01ea203366959676afd98e8d7e2">TgBot::Api::editMessageText</a></div><div class="ttdeci">Message::Ptr editMessageText(const std::string &text, int64_t chatId=0, int32_t messageId=0, const std::string &inlineMessageId="", const std::string &parseMode="", bool disableWebPagePreview=false, const GenericReply::Ptr replyMarkup=std::make_shared< GenericReply >()) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a0b77fde611ecb916b5975a7ab9fa87f7"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a0b77fde611ecb916b5975a7ab9fa87f7">TgBot::Api::setStickerPositionInSet</a></div><div class="ttdeci">bool setStickerPositionInSet(const std::string &sticker, uint32_t position) const</div></div>
<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#l00038">User.h:38</a></div></div>
<div class="ttc" id="_message_8h_html"><div class="ttname"><a href="_message_8h.html">Message.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_25b26b9fa3b0bd1537052b03f43dd617.html">tgbot</a></li><li class="navelem"><a class="el" href="_api_8h.html">Api.h</a></li>
<li class="footer">Generated on Sun May 27 2018 22:44:47 for tgbot-cpp by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
</div>
</body>
</html>
|