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
|
<!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="_file_8h.html">tgbot/types/File.h</a>"</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="namespace_tg_bot.html"> 44</a></span> <span class="keyword">namespace </span><a class="code" href="namespace_tg_bot.html">TgBot</a> {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00046"></a><span class="lineno"> 46</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="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="class_tg_bot_1_1_api.html"> 52</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="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="keyword">typedef</span> std::shared_ptr<std::vector<std::string>> StringArrayPtr;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="class_tg_bot_1_1_api.html#afb5d57ac6b56fe83e7894e3b686c3339"> 56</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="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</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="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</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="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</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#a8d7ace74013fbe6803c1a4d8cda579e4">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 = <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a>(), <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="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</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="l00089"></a><span class="lineno"> 89</span> </div><div class="line"><a name="l00100"></a><span class="lineno"> 100</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#aa78cb2f3053726f421d1cb8363d581f5">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="l00101"></a><span class="lineno"> 101</span>  <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>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div><div class="line"><a name="l00113"></a><span class="lineno"> 113</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#aa78cb2f3053726f421d1cb8363d581f5">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="l00114"></a><span class="lineno"> 114</span>  <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>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div><div class="line"><a name="l00129"></a><span class="lineno"> 129</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#a95c614ace41968c47ce2236cd85d5c82">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="l00130"></a><span class="lineno"> 130</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="l00131"></a><span class="lineno"> 131</span>  <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>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div><div class="line"><a name="l00146"></a><span class="lineno"> 146</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#a95c614ace41968c47ce2236cd85d5c82">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="l00147"></a><span class="lineno"> 147</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="l00148"></a><span class="lineno"> 148</span>  <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>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div><div class="line"><a name="l00160"></a><span class="lineno"> 160</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#a771b4c3597217d5cbcdf1191693b3419">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="l00161"></a><span class="lineno"> 161</span>  <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>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div><div class="line"><a name="l00173"></a><span class="lineno"> 173</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#a771b4c3597217d5cbcdf1191693b3419">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="l00174"></a><span class="lineno"> 174</span>  <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>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div><div class="line"><a name="l00185"></a><span class="lineno"> 185</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#a334fd1983a78079b2ed3c9b107cf586f">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="l00186"></a><span class="lineno"> 186</span>  <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>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div><div class="line"><a name="l00197"></a><span class="lineno"> 197</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#a334fd1983a78079b2ed3c9b107cf586f">sendSticker</a>(int64_t chatId, <span class="keyword">const</span> std::string& stickerId, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <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>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div><div class="line"><a name="l00213"></a><span class="lineno"> 213</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#ab9d31ba2b43f5e7df31c3fb023f48f95">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="l00214"></a><span class="lineno"> 214</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 = <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div><div class="line"><a name="l00229"></a><span class="lineno"> 229</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#ab9d31ba2b43f5e7df31c3fb023f48f95">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="l00230"></a><span class="lineno"> 230</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 = <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div><div class="line"><a name="l00243"></a><span class="lineno"> 243</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#a96b602c6d2f0b5c140e6e64436244358">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="l00244"></a><span class="lineno"> 244</span>  <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>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div><div class="line"><a name="l00257"></a><span class="lineno"> 257</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#a96b602c6d2f0b5c140e6e64436244358">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="l00258"></a><span class="lineno"> 258</span>  <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>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span> </div><div class="line"><a name="l00270"></a><span class="lineno"> 270</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#a9b72378c248c11739b4a2d86a3afd485">sendLocation</a>(int64_t chatId, <span class="keywordtype">float</span> latitude, <span class="keywordtype">float</span> longitude, int32_t replyToMessageId = 0,</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <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>(), <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>) <span class="keyword">const</span>;</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span> </div><div class="line"><a name="l00286"></a><span class="lineno"> 286</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#a4f88e34dec1960cb74514a632781b193">sendVenue</a>(int64_t chatId, <span class="keywordtype">float</span> latitude, <span class="keywordtype">float</span> longitude, std::string title, std::string address, std::string foursquareId = <span class="stringliteral">""</span>,</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</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 = <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a>()) <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>  <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#ae40457b964cc05443c5e8aa0c5300f51">sendContact</a>(int64_t chatId, std::string phoneNumber, std::string firstName, std::string lastName = <span class="stringliteral">""</span>, <span class="keywordtype">bool</span> disableNotification = <span class="keyword">false</span>,</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</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 = <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span> </div><div class="line"><a name="l00310"></a><span class="lineno"> 310</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="l00311"></a><span class="lineno"> 311</span> </div><div class="line"><a name="l00319"></a><span class="lineno"> 319</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="l00320"></a><span class="lineno"> 320</span> </div><div class="line"><a name="l00326"></a><span class="lineno"> 326</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#abff10c92fa22a812d5bc17a068413709">getFile</a>(int32_t fileId) <span class="keyword">const</span>;</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span> </div><div class="line"><a name="l00333"></a><span class="lineno"> 333</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="l00334"></a><span class="lineno"> 334</span> </div><div class="line"><a name="l00340"></a><span class="lineno"> 340</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="l00341"></a><span class="lineno"> 341</span> </div><div class="line"><a name="l00347"></a><span class="lineno"> 347</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="l00348"></a><span class="lineno"> 348</span> </div><div class="line"><a name="l00354"></a><span class="lineno"> 354</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="l00355"></a><span class="lineno"> 355</span> </div><div class="line"><a name="l00362"></a><span class="lineno"> 362</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="l00363"></a><span class="lineno"> 363</span> </div><div class="line"><a name="l00373"></a><span class="lineno"> 373</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="l00374"></a><span class="lineno"> 374</span> </div><div class="line"><a name="l00386"></a><span class="lineno"> 386</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#a4d6a7d6a90e82689de922b99ffe7b279">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="l00387"></a><span class="lineno"> 387</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 = <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span> </div><div class="line"><a name="l00398"></a><span class="lineno"> 398</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#a7d8a296982d5c226cd2044c7cd3eff08">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="l00399"></a><span class="lineno"> 399</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 = <a class="code" href="class_tg_bot_1_1_generic_reply.html#aa7bb5f2c5484cb791e1c60c346bbb06f">GenericReply::Ptr</a>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</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#a1a9c38841dd135a6910f011f51f5a446">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="l00410"></a><span class="lineno"> 410</span>  <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>()) <span class="keyword">const</span>;</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span> </div><div class="line"><a name="l00422"></a><span class="lineno"> 422</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="l00423"></a><span class="lineno"> 423</span> </div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  <span class="keywordtype">void</span> <a class="code" href="class_tg_bot_1_1_api.html#ad961e1b605e9d6707c362ee046b9cfda">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="l00433"></a><span class="lineno"> 433</span> </div><div class="line"><a name="l00438"></a><span class="lineno"> 438</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="l00439"></a><span class="lineno"> 439</span> </div><div class="line"><a name="l00445"></a><span class="lineno"> 445</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="l00446"></a><span class="lineno"> 446</span> </div><div class="line"><a name="l00459"></a><span class="lineno"> 459</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="l00460"></a><span class="lineno"> 460</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="l00461"></a><span class="lineno"> 461</span> </div><div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  <span class="keywordtype">bool</span> <a class="code" href="class_tg_bot_1_1_api.html#a07c9bb7aa68a66bec54dd9bcf97875d7">kickChatMember</a>(int64_t chatId, int32_t userId) <span class="keyword">const</span>;</div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span> </div><div class="line"><a name="l00476"></a><span class="lineno"> 476</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="l00477"></a><span class="lineno"> 477</span> </div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00479"></a><span class="lineno"> 479</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="l00480"></a><span class="lineno"> 480</span> </div><div class="line"><a name="l00481"></a><span class="lineno"> 481</span>  <span class="keyword">const</span> std::string _token;</div><div class="line"><a name="l00482"></a><span class="lineno"> 482</span> };</div><div class="line"><a name="l00483"></a><span class="lineno"> 483</span> </div><div class="line"><a name="l00484"></a><span class="lineno"> 484</span> }</div><div class="line"><a name="l00485"></a><span class="lineno"> 485</span> </div><div class="line"><a name="l00486"></a><span class="lineno"> 486</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_a9b72378c248c11739b4a2d86a3afd485"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a9b72378c248c11739b4a2d86a3afd485">TgBot::Api::sendLocation</a></div><div class="ttdeci">Message::Ptr sendLocation(int64_t chatId, float latitude, float longitude, int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr(), bool disableNotification=false) const</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="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="_webhook_info_8h_html"><div class="ttname"><a href="_webhook_info_8h.html">WebhookInfo.h</a></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#l00044">Api.h:44</a></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_a4d6a7d6a90e82689de922b99ffe7b279"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a4d6a7d6a90e82689de922b99ffe7b279">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=GenericReply::Ptr()) 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="_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"><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#l00052">Api.h:52</a></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="class_tg_bot_1_1_api_html_aa78cb2f3053726f421d1cb8363d581f5"><div class="ttname"><a href="class_tg_bot_1_1_api.html#aa78cb2f3053726f421d1cb8363d581f5">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=GenericReply::Ptr(), bool disableNotification=false) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a771b4c3597217d5cbcdf1191693b3419"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a771b4c3597217d5cbcdf1191693b3419">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=GenericReply::Ptr(), 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_a334fd1983a78079b2ed3c9b107cf586f"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a334fd1983a78079b2ed3c9b107cf586f">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=GenericReply::Ptr(), bool disableNotification=false) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_ae40457b964cc05443c5e8aa0c5300f51"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ae40457b964cc05443c5e8aa0c5300f51">TgBot::Api::sendContact</a></div><div class="ttdeci">Message::Ptr sendContact(int64_t chatId, std::string phoneNumber, std::string firstName, std::string lastName="", bool disableNotification=false, int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr()) 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_api_html_a96b602c6d2f0b5c140e6e64436244358"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a96b602c6d2f0b5c140e6e64436244358">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=GenericReply::Ptr(), bool disableNotification=false) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a8d7ace74013fbe6803c1a4d8cda579e4"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a8d7ace74013fbe6803c1a4d8cda579e4">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=GenericReply::Ptr(), const std::string &parseMode="", bool disableNotification=false) const</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="class_tg_bot_1_1_api_html_ad961e1b605e9d6707c362ee046b9cfda"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ad961e1b605e9d6707c362ee046b9cfda">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="_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_a1a9c38841dd135a6910f011f51f5a446"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a1a9c38841dd135a6910f011f51f5a446">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=GenericReply::Ptr()) 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_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#l00038">Chat.h:38</a></div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a07c9bb7aa68a66bec54dd9bcf97875d7"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a07c9bb7aa68a66bec54dd9bcf97875d7">TgBot::Api::kickChatMember</a></div><div class="ttdeci">bool kickChatMember(int64_t chatId, int32_t userId) 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_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_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="_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_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_a4f88e34dec1960cb74514a632781b193"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a4f88e34dec1960cb74514a632781b193">TgBot::Api::sendVenue</a></div><div class="ttdeci">Message::Ptr sendVenue(int64_t chatId, float latitude, float longitude, std::string title, std::string address, std::string foursquareId="", bool disableNotification=false, int32_t replyToMessageId=0, const GenericReply::Ptr &replyMarkup=GenericReply::Ptr()) 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_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_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#l00021">ChatMember.h:21</a></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_a95c614ace41968c47ce2236cd85d5c82"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a95c614ace41968c47ce2236cd85d5c82">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=GenericReply::Ptr(), bool disableNotification=false) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_a7d8a296982d5c226cd2044c7cd3eff08"><div class="ttname"><a href="class_tg_bot_1_1_api.html#a7d8a296982d5c226cd2044c7cd3eff08">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=GenericReply::Ptr()) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_ab9d31ba2b43f5e7df31c3fb023f48f95"><div class="ttname"><a href="class_tg_bot_1_1_api.html#ab9d31ba2b43f5e7df31c3fb023f48f95">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=GenericReply::Ptr(), bool disableNotification=false) const</div></div>
<div class="ttc" id="class_tg_bot_1_1_api_html_abff10c92fa22a812d5bc17a068413709"><div class="ttname"><a href="class_tg_bot_1_1_api.html#abff10c92fa22a812d5bc17a068413709">TgBot::Api::getFile</a></div><div class="ttdeci">File::Ptr getFile(int32_t fileId) 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 Jan 15 2017 02:46:16 for tgbot-cpp by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
</div>
</body>
</html>
|