Update content of files

This commit is contained in:
GitHub Action 2023-04-25 20:06:31 +00:00
parent ed33bda112
commit ef79de2f52
18 changed files with 64 additions and 98 deletions

View file

@ -163,6 +163,7 @@ The SHA256 hash of the file is computed, and it is passed along with the file's
<a href='/method/account.getDefaultGroupPhotoEmojis'>account.getDefaultGroupPhotoEmojis</a>#915860ae hash:<a href='/type/long'>long</a> = <a href='/type/EmojiList'>EmojiList</a>;</code></pre>
<p>User profile pictures can be uploaded using the <a href="/method/photos.updateProfilePhoto">photos.uploadProfilePhoto</a> method: the actual profile picture has to be <a href="#uploading-files">uploaded as for normal files</a>.<br>
<a href="/method/photos.updateProfilePhoto">photos.uploadProfilePhoto</a> can also be used to reupload previously uploaded profile pictures. </p>
<p>The optional <code>bot</code> flag can contain info of a <a href="/api/bots">bot</a> we own, to change the profile photo of that bot, instead of the current user.</p>
<h4><a class="anchor" href="#animated-profile-pictures" id="animated-profile-pictures" name="animated-profile-pictures"><i class="anchor-icon"></i></a>Animated profile pictures</h4>
<p>Animated profile pictures are also supported, by populating the <code>video</code> flag: square MPEG4 videos up to <code>1080x1080</code> are supported, <code>800x800</code> is the recommended resolution.<br>
The <code>video_start_ts</code> is a floating point UNIX timestamp in seconds, indicating the frame of the video that should be used as static preview. </p>

View file

@ -89,10 +89,10 @@
<li>Added <a href="/constructor/chatlists.chatlistInviteAlready">chatlists.chatlistInviteAlready</a> - </li>
<li>Added <a href="/constructor/chatlists.chatlistInvite">chatlists.chatlistInvite</a> - </li>
<li>Added <a href="/constructor/chatlists.chatlistUpdates">chatlists.chatlistUpdates</a> - </li>
<li>Added <a href="/constructor/messageActionSetChatWallPaper">messageActionSetChatWallPaper</a> - </li>
<li>Added <a href="/constructor/messageActionSetChatWallPaper">messageActionSetChatWallPaper</a> - The <a href="/api/wallpapers">wallpaper »</a> of the current chat was changed.</li>
<li>Added <a href="/constructor/messageActionSetSameChatWallPaper">messageActionSetSameChatWallPaper</a> - </li>
<li>Added <a href="/constructor/bots.botInfo">bots.botInfo</a> - </li>
<li>Added <a href="/constructor/inlineQueryPeerTypeBotPM">inlineQueryPeerTypeBotPM</a> - </li>
<li>Added <a href="/constructor/bots.botInfo">bots.botInfo</a> - Localized information about a bot.</li>
<li>Added <a href="/constructor/inlineQueryPeerTypeBotPM">inlineQueryPeerTypeBotPM</a> - Peer type: private chat with a bot.</li>
</ul>
<h5><a class="anchor" href="#changed-constructors" id="changed-constructors" name="changed-constructors"><i class="anchor-icon"></i></a>Changed Constructors</h5>
<ul>
@ -172,8 +172,8 @@ The current <a href="/api/auth#future-auth-tokens">future auth token</a> is now
<ul>
<li>Added <a href="/method/messages.getBotApp">messages.getBotApp</a> - Obtain information about a <a href="/api/bots/webapps#named-bot-web-apps">named bot web app</a></li>
<li>Added <a href="/method/messages.requestAppWebView">messages.requestAppWebView</a> - Open a <a href="/bots/webapps">bot web app</a> from a <a href="/api/links#named-bot-web-app-links">named bot web app deep link</a>, sending over user information after user confirmation.</li>
<li>Added <a href="/method/bots.setBotInfo">bots.setBotInfo</a> - Set our about text and description (bots only)</li>
<li>Added <a href="/method/bots.getBotInfo">bots.getBotInfo</a> - Get our about text and description (bots only)</li>
<li>Added <a href="/method/bots.setBotInfo">bots.setBotInfo</a> - Set localized name, about text and description of a bot (or of the current account, if called by a bot).</li>
<li>Added <a href="/method/bots.getBotInfo">bots.getBotInfo</a> - Get localized name, about text and description of a bot (or of the current account, if called by a bot).</li>
</ul>
<h5><a class="anchor" href="#changed-methods" id="changed-methods" name="changed-methods"><i class="anchor-icon"></i></a>Changed Methods</h5>
<ul>

View file

@ -4,38 +4,10 @@
<meta charset="utf-8">
<title>bots.botInfo</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
name
string
 
about
string
 
description
string
 
Type
bots.BotInfo">
<meta property="description" content="Localized information about a bot.">
<meta property="og:title" content="bots.botInfo">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
name
string
 
about
string
 
description
string
 
Type
bots.BotInfo">
<meta property="og:description" content="Localized information about a bot.">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -70,7 +42,8 @@ bots.BotInfo">
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/bots.botInfo" >bots.botInfo</a></li></ul></div>
<h1 id="dev_page_title">bots.botInfo</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Localized information about a bot.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 158 <b class="caret"></b></a>
@ -96,17 +69,17 @@ bots.BotInfo">
<tr>
<td><strong>name</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td>
<td>Bot name</td>
</tr>
<tr>
<td><strong>about</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td>
<td>Bot about text</td>
</tr>
<tr>
<td><strong>description</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td>
<td>Bot description</td>
</tr>
</tbody>
</table>

View file

@ -4,16 +4,10 @@
<meta charset="utf-8">
<title>inlineQueryPeerTypeBotPM</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
This constructor does not require any parameters.
Type
InlineQueryPeerType">
<meta property="description" content="Peer type: private chat with a bot.">
<meta property="og:title" content="inlineQueryPeerTypeBotPM">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
This constructor does not require any parameters.
Type
InlineQueryPeerType">
<meta property="og:description" content="Peer type: private chat with a bot.">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -48,7 +42,8 @@ InlineQueryPeerType">
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/inlineQueryPeerTypeBotPM" >inlineQueryPeerTypeBotPM</a></li></ul></div>
<h1 id="dev_page_title">inlineQueryPeerTypeBotPM</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Peer type: private chat with a bot.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 158 <b class="caret"></b></a>

View file

@ -89,7 +89,7 @@
<tr>
<td><strong>peer_types</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/InlineQueryPeerType">InlineQueryPeerType</a>&gt;</td>
<td> </td>
<td>Filter to use when selecting chats.</td>
</tr>
</tbody>
</table>

View file

@ -4,26 +4,10 @@
<meta charset="utf-8">
<title>messageActionSetChatWallPaper</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
wallpaper
WallPaper
 
Type
MessageAction">
<meta property="description" content="The wallpaper » of the current chat was changed.">
<meta property="og:title" content="messageActionSetChatWallPaper">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
wallpaper
WallPaper
 
Type
MessageAction">
<meta property="og:description" content="The wallpaper » of the current chat was changed.">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -58,7 +42,8 @@ MessageAction">
<div class="dev_page_bread_crumbs"><ul class="breadcrumb clearfix"><li><a href="/api" >API</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/schema" >TL-schema</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/constructor/messageActionSetChatWallPaper" >messageActionSetChatWallPaper</a></li></ul></div>
<h1 id="dev_page_title">messageActionSetChatWallPaper</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>The <a href="/api/wallpapers">wallpaper »</a> of the current chat was changed.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
<a class="dropdown-toggle" onclick="return dropdownClick(this, event)" href="#">Layer 158 <b class="caret"></b></a>
@ -84,12 +69,15 @@ MessageAction">
<tr>
<td><strong>wallpaper</strong></td>
<td style="text-align: center;"><a href="/type/WallPaper">WallPaper</a></td>
<td> </td>
<td>New <a href="/api/wallpapers">wallpaper</a></td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/MessageAction">MessageAction</a></p></div>
<p><a href="/type/MessageAction">MessageAction</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#wallpapers" id="wallpapers" name="wallpapers"><i class="anchor-icon"></i></a><a href="/api/wallpapers">Wallpapers</a></h4>
<p>Telegram apps support generating, sharing and synchronizing chat backgrounds.</p></div>
</div>

View file

@ -10,9 +10,12 @@ Type
Description
wallpaper
WallPaper
 
New wallpaper
Type
MessageAction">
MessageAction
Related pages
Wallpapers
Telegram…">
<meta property="og:title" content="messageActionSetSameChatWallPaper">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
@ -21,9 +24,12 @@ Type
Description
wallpaper
WallPaper
 
New wallpaper
Type
MessageAction">
MessageAction
Related pages
Wallpapers
Telegram…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -84,12 +90,15 @@ MessageAction">
<tr>
<td><strong>wallpaper</strong></td>
<td style="text-align: center;"><a href="/type/WallPaper">WallPaper</a></td>
<td> </td>
<td>New <a href="/api/wallpapers">wallpaper</a></td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/MessageAction">MessageAction</a></p></div>
<p><a href="/type/MessageAction">MessageAction</a></p>
<h3><a class="anchor" href="#related-pages" id="related-pages" name="related-pages"><i class="anchor-icon"></i></a>Related pages</h3>
<h4><a class="anchor" href="#wallpapers" id="wallpapers" name="wallpapers"><i class="anchor-icon"></i></a><a href="/api/wallpapers">Wallpapers</a></h4>
<p>Telegram apps support generating, sharing and synchronizing chat backgrounds.</p></div>
</div>

View file

@ -169,7 +169,7 @@
<tr>
<td><strong>bot_can_edit</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags2</a>.1?<a href="/constructor/true">true</a></td>
<td> </td>
<td>Whether we can edit the profile picture, name, about text and description of this bot because we own it.</td>
</tr>
<tr>
<td><strong>id</strong></td>

View file

@ -199,7 +199,7 @@
<tr>
<td><strong>wallpaper</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.24?<a href="/type/WallPaper">WallPaper</a></td>
<td> </td>
<td><a href="/api/wallpapers">Wallpaper</a> to use in the private chat with the user.</td>
</tr>
</tbody>
</table>
@ -215,7 +215,9 @@
<h4><a class="anchor" href="#folders" id="folders" name="folders"><i class="anchor-icon"></i></a><a href="/api/folders">Folders</a></h4>
<p>Telegram allows placing chats into folders, based on their type, mute status, or other custom criteria, thanks to folder blacklists and whitelists.</p>
<h4><a class="anchor" href="#admin-banned-default-rights" id="admin-banned-default-rights" name="admin-banned-default-rights"><i class="anchor-icon"></i></a><a href="/api/rights">Admin, banned, default rights</a></h4>
<p>How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.</p></div>
<p>How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.</p>
<h4><a class="anchor" href="#wallpapers" id="wallpapers" name="wallpapers"><i class="anchor-icon"></i></a><a href="/api/wallpapers">Wallpapers</a></h4>
<p>Telegram apps support generating, sharing and synchronizing chat backgrounds.</p></div>
</div>

View file

@ -92,7 +92,7 @@
<tr>
<td><strong>ios_push_secret</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/string">string</a></td>
<td> </td>
<td>Secret token received via an apple push notification</td>
</tr>
</tbody>
</table>

View file

@ -4,10 +4,10 @@
<meta charset="utf-8">
<title>bots.setBotInfo</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Set our about text and description (bots only)">
<meta property="description" content="Set localized name, about text and description of a bot (or of the current account, if called by a bot).">
<meta property="og:title" content="bots.setBotInfo">
<meta property="og:image" content="">
<meta property="og:description" content="Set our about text and description (bots only)">
<meta property="og:description" content="Set localized name, about text and description of a bot (or of the current account, if called by a bot).">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -76,7 +76,7 @@
</tr>
<tr>
<td><strong>bot</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/InputUser">InputUser</a></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/type/InputUser">InputUser</a></td>
<td>If called by a user, <strong>must</strong> contain the peer of a bot we own.</td>
</tr>
<tr>

View file

@ -81,7 +81,7 @@
<tr>
<td><strong>bot</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/InputUser">InputUser</a></td>
<td> </td>
<td>Can contain info of a bot we own, to change the profile photo of that bot, instead of the current user.</td>
</tr>
<tr>
<td><strong>id</strong></td>

View file

@ -82,7 +82,7 @@
<tr>
<td><strong>bot</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.5?<a href="/type/InputUser">InputUser</a></td>
<td> </td>
<td>Can contain info of a bot we own, to change the profile photo of that bot, instead of the current user.</td>
</tr>
<tr>
<td><strong>file</strong></td>

View file

@ -1687,11 +1687,11 @@
</tr>
<tr>
<td><a href="/method/bots.setBotInfo">bots.setBotInfo</a></td>
<td>Set our about text and description (bots only)</td>
<td>Set localized name, about text and description of a bot (or of the current account, if called by a bot).</td>
</tr>
<tr>
<td><a href="/method/bots.getBotInfo">bots.getBotInfo</a></td>
<td>Get our about text and description (bots only)</td>
<td>Get localized name, about text and description of a bot (or of the current account, if called by a bot).</td>
</tr>
</tbody>
</table>

View file

@ -777,7 +777,7 @@
</tr>
<tr>
<td><a href="/method/bots.setBotInfo">bots.setBotInfo</a></td>
<td>Set our about text and description (bots only)</td>
<td>Set localized name, about text and description of a bot (or of the current account, if called by a bot).</td>
</tr>
<tr>
<td><a href="/method/chatlists.deleteExportedInvite">chatlists.deleteExportedInvite</a></td>

View file

@ -92,7 +92,7 @@
</tr>
<tr>
<td><a href="/constructor/inlineQueryPeerTypeBotPM">inlineQueryPeerTypeBotPM</a></td>
<td> </td>
<td>Peer type: private chat with a bot.</td>
</tr>
</tbody>
</table></div>

View file

@ -253,7 +253,7 @@
</tr>
<tr>
<td><a href="/constructor/messageActionSetChatWallPaper">messageActionSetChatWallPaper</a></td>
<td> </td>
<td>The <a href="/api/wallpapers">wallpaper »</a> of the current chat was changed.</td>
</tr>
<tr>
<td><a href="/constructor/messageActionSetSameChatWallPaper">messageActionSetSameChatWallPaper</a></td>

View file

@ -8,24 +8,22 @@
Constructor
Description
bots.botInfo
 
Localized information about a bot.
Methods
Method
Description
bots.getBotInfo
Get our about text and description…">
bots.getBotInfo…">
<meta property="og:title" content="bots.BotInfo">
<meta property="og:image" content="">
<meta property="og:description" content="Constructors
Constructor
Description
bots.botInfo
 
Localized information about a bot.
Methods
Method
Description
bots.getBotInfo
Get our about text and description…">
bots.getBotInfo…">
<link rel="icon" type="image/svg+xml" href="/img/website_icon.svg?4">
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
@ -88,7 +86,7 @@ Get our about text and description…">
<tbody>
<tr>
<td><a href="/constructor/bots.botInfo">bots.botInfo</a></td>
<td> </td>
<td>Localized information about a bot.</td>
</tr>
</tbody>
</table>
@ -103,7 +101,7 @@ Get our about text and description…">
<tbody>
<tr>
<td><a href="/method/bots.getBotInfo">bots.getBotInfo</a></td>
<td>Get our about text and description (bots only)</td>
<td>Get localized name, about text and description of a bot (or of the current account, if called by a bot).</td>
</tr>
</tbody>
</table></div>