diff options
Diffstat (limited to 'docs/class_tg_bot_1_1_api.html')
-rw-r--r-- | docs/class_tg_bot_1_1_api.html | 50 |
1 files changed, 44 insertions, 6 deletions
diff --git a/docs/class_tg_bot_1_1_api.html b/docs/class_tg_bot_1_1_api.html index 72bada4..51671ca 100644 --- a/docs/class_tg_bot_1_1_api.html +++ b/docs/class_tg_bot_1_1_api.html @@ -134,8 +134,8 @@ Public Member Functions</h2></td></tr> <tr class="separator:a77fe17ad287f702bb021fc92575a0e2d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa605f96bd5de1a3a432e14a160bac210"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_tg_bot_1_1_user_profile_photos.html#a734352c5b115ea29e639f01462187d55">UserProfilePhotos::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_api.html#aa605f96bd5de1a3a432e14a160bac210">getUserProfilePhotos</a> (int32_t userId, int32_t offset=0, int32_t limit=100) const</td></tr> <tr class="separator:aa605f96bd5de1a3a432e14a160bac210"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:abff10c92fa22a812d5bc17a068413709"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_tg_bot_1_1_file.html#ac47e9c73b9d762eef2322c0932c5a934">File::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_api.html#abff10c92fa22a812d5bc17a068413709">getFile</a> (int32_t fileId) const</td></tr> -<tr class="separator:abff10c92fa22a812d5bc17a068413709"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ac50bdd50bf0cf5a211e699925759ebc1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_tg_bot_1_1_file.html#ac47e9c73b9d762eef2322c0932c5a934">File::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_api.html#ac50bdd50bf0cf5a211e699925759ebc1">getFile</a> (const std::string &fileId) const</td></tr> +<tr class="separator:ac50bdd50bf0cf5a211e699925759ebc1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a28d6bda0f615ff1c7063905eb61b5cde"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_api.html#a28d6bda0f615ff1c7063905eb61b5cde">leaveChat</a> (int64_t chatId) const</td></tr> <tr class="separator:a28d6bda0f615ff1c7063905eb61b5cde"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad042b4d7f03f45eb59acb68085faaa23"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_tg_bot_1_1_chat.html#a9818e295b599a08b77abefb38de75e48">Chat::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_api.html#ad042b4d7f03f45eb59acb68085faaa23">getChat</a> (int64_t chatId) const</td></tr> @@ -168,6 +168,8 @@ Public Member Functions</h2></td></tr> <tr class="separator:a07c9bb7aa68a66bec54dd9bcf97875d7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a44ea670c4eecdf100f60be3c90911eec"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_api.html#a44ea670c4eecdf100f60be3c90911eec">unbanChatMember</a> (int64_t chatId, int32_t userId) const</td></tr> <tr class="separator:a44ea670c4eecdf100f60be3c90911eec"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aa60ec06b9171d94ef717f1ac03190f07"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_tg_bot_1_1_api.html#aa60ec06b9171d94ef717f1ac03190f07">downloadFile</a> (const std::string &filePath, const std::vector< <a class="el" href="class_tg_bot_1_1_http_req_arg.html">HttpReqArg</a> > &args=std::vector< <a class="el" href="class_tg_bot_1_1_http_req_arg.html">HttpReqArg</a> >()) const</td></tr> +<tr class="separator:aa60ec06b9171d94ef717f1ac03190f07"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a> Friends</h2></td></tr> @@ -344,6 +346,42 @@ Friends</h2></td></tr> </div> </div> +<a id="aa60ec06b9171d94ef717f1ac03190f07"></a> +<h2 class="memtitle"><span class="permalink"><a href="#aa60ec06b9171d94ef717f1ac03190f07">◆ </a></span>downloadFile()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">std::string TgBot::Api::downloadFile </td> + <td>(</td> + <td class="paramtype">const std::string & </td> + <td class="paramname"><em>filePath</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const std::vector< <a class="el" href="class_tg_bot_1_1_http_req_arg.html">HttpReqArg</a> > & </td> + <td class="paramname"><em>args</em> = <code>std::vector< <a class="el" href="class_tg_bot_1_1_http_req_arg.html">HttpReqArg</a> >()</code> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td> const</td> + </tr> + </table> +</div><div class="memdoc"> +<p>Downloads file from Telegram and saves it in memory. </p><dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">filePath</td><td>Telegram file id. </td></tr> + <tr><td class="paramname">args</td><td>Additional api parameters. </td></tr> + </table> + </dd> +</dl> +<dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_tg_bot_1_1_file.html">File</a> contents in a string. </dd></dl> + +</div> +</div> <a id="a8663d3b183eb53d6b7ca19791e55d7d7"></a> <h2 class="memtitle"><span class="permalink"><a href="#a8663d3b183eb53d6b7ca19791e55d7d7">◆ </a></span>editMessageCaption()</h2> @@ -683,8 +721,8 @@ Friends</h2></td></tr> </div> </div> -<a id="abff10c92fa22a812d5bc17a068413709"></a> -<h2 class="memtitle"><span class="permalink"><a href="#abff10c92fa22a812d5bc17a068413709">◆ </a></span>getFile()</h2> +<a id="ac50bdd50bf0cf5a211e699925759ebc1"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ac50bdd50bf0cf5a211e699925759ebc1">◆ </a></span>getFile()</h2> <div class="memitem"> <div class="memproto"> @@ -692,7 +730,7 @@ Friends</h2></td></tr> <tr> <td class="memname"><a class="el" href="class_tg_bot_1_1_file.html#ac47e9c73b9d762eef2322c0932c5a934">File::Ptr</a> TgBot::Api::getFile </td> <td>(</td> - <td class="paramtype">int32_t </td> + <td class="paramtype">const std::string & </td> <td class="paramname"><em>fileId</em></td><td>)</td> <td> const</td> </tr> @@ -2192,7 +2230,7 @@ Friends</h2></td></tr> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="namespace_tg_bot.html">TgBot</a></li><li class="navelem"><a class="el" href="class_tg_bot_1_1_api.html">Api</a></li> - <li class="footer">Generated on Thu Jan 26 2017 14:29:53 for tgbot-cpp by + <li class="footer">Generated on Tue Mar 21 2017 19:07:24 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> |