Update content of files

This commit is contained in:
GitHub Action 2021-10-09 16:23:51 +00:00
parent 38b91f81ea
commit 4fe206138d
12 changed files with 93 additions and 80 deletions

View file

@ -82,18 +82,17 @@ While <a href="/method/help.getConfig">help.getConfig</a> returns MTProto-specif
<li><code>dialog_filters_tooltip</code> - Whether clients should actively show a tooltip, inviting the user to configure <a href="/api/folders">dialog filters AKA folders</a>; typically this happens when the chat list is long enough to start getting cluttered. (boolean)</li>
</ul>
<p>Example value: </p>
<pre><code>{
<pre><code class="language-json">{
"test": 1,
"emojies_animated_zoom": 0.625,
"keep_alive_service": true,
"background_connection": true,
"emojies_send_dice": [
"\ud83c\udfb2",
"\ud83c\udfaf",
"\ud83c\udfc0",
"\u26bd",
"\u26bd\ufe0f",
"\ud83c\udfb0"
"\ud83c\udfb0",
"\ud83c\udfb3"
],
"emojies_send_dice_success": {
"\ud83c\udfaf": {
@ -115,43 +114,57 @@ While <a href="/method/help.getConfig">help.getConfig</a> returns MTProto-specif
"\ud83c\udfb0": {
"value": 64,
"frame_start": 110
},
"\ud83c\udfb3": {
"value": 6,
"frame_start": 110
}
},
"emojies_sounds": {
"\ud83c\udf83": {
"id": "4956223179606458539",
"access_hash": "-2107001400913062971",
"file_reference_base64": "AF-4ApC7ukC0UWEPZN0TeSJURe7T"
"file_reference_base64": "AGFhvoKbftK5O9K9RpgN1ZtgSzWy"
},
"\u26b0": {
"id": "4956223179606458540",
"access_hash": "-1498869544183595185",
"file_reference_base64": "AF-4ApCLKMGt96WCvLm58kbqZHd3"
"file_reference_base64": "AGFhvoJIm8Uz0qSMIdm3AsKlK7wJ"
},
"\ud83e\udddf\u200d\u2642": {
"id": "4960929110848176331",
"access_hash": "3986395821757915468",
"file_reference_base64": "AF-4ApAedNln3IMEHH-SUQuH8L9g"
"file_reference_base64": "AGFhvoLtXSSIclmvfg6ePz3KsHQF"
},
"\ud83e\udddf": {
"id": "4960929110848176332",
"access_hash": "-8929417974289765626",
"file_reference_base64": "AF-4ApArGURtGa2KVC-Yovh1kQoW"
"file_reference_base64": "AGFhvoImaz5Umt4GvMUD5nocIu0W"
},
"\ud83e\udddf\u200d\u2640": {
"id": "4960929110848176333",
"access_hash": "9161696144162881753",
"file_reference_base64": "AF-4ApD-eOqXvTBmcszAEkzQN615"
"file_reference_base64": "AGFhvoIm1QZsb48xlpRfh4Mq7EMG"
},
"\ud83c\udf51": {
"id": "4963180910661861548",
"access_hash": "-7431729439735063448",
"file_reference_base64": "AF-4ApBimvRxhcXg-iQ5Gw4Eelit"
"file_reference_base64": "AGFhvoKLrwl_WKr5LR0Jjs7o3RyT"
},
"\u2764": {
"id": "4978826754966683841",
"access_hash": "3926211553285686901",
"file_reference_base64": "AF-4ApDBkyjgN2Tk9zJvXPhfJXPA"
"\ud83c\udf8a": {
"id": "5094064004578410732",
"access_hash": "8518192996098758509",
"file_reference_base64": "AGFhvoKMNffRV2J3vKED0O6d8e42"
},
"\ud83c\udf84": {
"id": "5094064004578410733",
"access_hash": "-4142643820629256996",
"file_reference_base64": "AGFhvoJ1ulPBbXEURlTZWwJFx6xZ"
},
"\ud83e\uddbe": {
"id": "5094064004578410734",
"access_hash": "-8934384022571962340",
"file_reference_base64": "AGFhvoL4zdMRmYv9z3L8KPaX4JQL"
}
},
"gif_search_branding": "tenor",
@ -167,10 +180,34 @@ While <a href="/method/help.getConfig">help.getConfig</a> returns MTProto-specif
"\ud83d\ude0e",
"\ud83d\udc4e"
],
"qr_login_camera": true,
"qr_login_code": "secondary",
"stickers_emoji_suggest_only_api": false,
"stickers_emoji_cache_time": 86400,
"groupcall_video_participants_max": 1000,
"youtube_pip": "inapp",
"qr_login_camera": false,
"qr_login_code": "disabled",
"dialog_filters_enabled": true,
"dialog_filters_tooltip": false
"dialog_filters_tooltip": false,
"autoarchive_setting_available": false,
"pending_suggestions": [
"VALIDATE_PHONE_NUMBER"
],
"autologin_token": "yPsoJyg7wwd1xOC7GJchrRjcH8S-vnyc-NgdjPbnNy5hYb6CFgAAAABGkwcvAKSBUUgM3V0NdMeDpfmRzGyqTigcHSU0zwly2_EAJ9YN",
"autologin_domains": [
"instantview.telegram.org",
"translations.telegram.org",
"contest.dev",
"contest.com",
"bugs.telegram.org",
"suggestions.telegram.org",
"themes.telegram.org"
],
"round_video_encoding": {
"diameter": 384,
"video_bitrate": 1000,
"audio_bitrate": 64,
"max_size": 12582912
}
}</code></pre>
<h2><a class="anchor" href="#app-specific-configuration" id="app-specific-configuration" name="app-specific-configuration"><i class="anchor-icon"></i></a>App-specific configuration</h2>
<pre><code><a href='/constructor/help.appUpdate'>help.appUpdate</a>#ccbbce30 flags:<a href='/type/%23'>#</a> can_not_skip:flags.0?<a href='/constructor/true'>true</a> id:<a href='/type/int'>int</a> version:<a href='/type/string'>string</a> text:<a href='/type/string'>string</a> entities:<a href='/type/Vector%20t'>Vector</a>&lt;<a href='/type/MessageEntity'>MessageEntity</a>&gt; document:flags.1?<a href='/type/Document'>Document</a> url:flags.2?<a href='/type/string'>string</a> sticker:flags.3?<a href='/type/Document'>Document</a> = <a href='/type/help.AppUpdate'>help.AppUpdate</a>;

View file

@ -458,7 +458,7 @@ Layer…">
<ul>
<li>Added <a href="/method/account.resetPassword">account.resetPassword</a> - Initiate a 2FA password reset</li>
<li>Added <a href="/method/account.declinePasswordReset">account.declinePasswordReset</a> - Abort a pending 2FA password reset</li>
<li>Added <a href="/method/auth.checkRecoveryPassword">auth.checkRecoveryPassword</a> - </li>
<li>Added <a href="/method/auth.checkRecoveryPassword">auth.checkRecoveryPassword</a> - Check if the recovery code sent using <a href="/method/auth.requestPasswordRecovery">auth.requestPasswordRecovery</a> is valid, before passing it to <a href="/method/auth.recoverPassword">auth.recoverPassword</a>.</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>
@ -929,7 +929,7 @@ Layer…">
<li>Added <a href="/method/phone.toggleGroupCallSettings">phone.toggleGroupCallSettings</a> - Change group call settings</li>
<li>Added <a href="/method/phone.getGroupCall">phone.getGroupCall</a> - Get info about a group call</li>
<li>Added <a href="/method/phone.getGroupParticipants">phone.getGroupParticipants</a> - Get group call participants</li>
<li>Added <a href="/method/phone.checkGroupCall">phone.checkGroupCall</a> - </li>
<li>Added <a href="/method/phone.checkGroupCall">phone.checkGroupCall</a> - Check whether the group call Server Forwarding Unit is currently receiving the streams with the specified WebRTC source IDs</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

@ -91,7 +91,7 @@
<tr>
<td><strong>message_colors</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/int">int</a>&gt;</td>
<td>The fill to be used as a background for outgoing messages, in RGB24 format. \<br>If just one or two equal colors are provided, describes a solid fill of a background. \<br>If two different colors are provided, describes the top and bottom colors of a 0-degree gradient.\<br>If three or four colors are provided, describes a freeform gradient fill of a background.</td>
<td>The fill to be used as a background for outgoing messages, in RGB24 format. <br>If just one or two equal colors are provided, describes a solid fill of a background. <br>If two different colors are provided, describes the top and bottom colors of a 0-degree gradient.<br>If three or four colors are provided, describes a freeform gradient fill of a background.</td>
</tr>
<tr>
<td><strong>wallpaper</strong></td>

View file

@ -91,7 +91,7 @@
<tr>
<td><strong>message_colors</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.0?<a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/int">int</a>&gt;</td>
<td>The fill to be used as a background for outgoing messages, in RGB24 format. \<br>If just one or two equal colors are provided, describes a solid fill of a background. \<br>If two different colors are provided, describes the top and bottom colors of a 0-degree gradient.\<br>If three or four colors are provided, describes a freeform gradient fill of a background.</td>
<td>The fill to be used as a background for outgoing messages, in RGB24 format. <br>If just one or two equal colors are provided, describes a solid fill of a background. <br>If two different colors are provided, describes the top and bottom colors of a 0-degree gradient.<br>If three or four colors are provided, describes a freeform gradient fill of a background.</td>
</tr>
<tr>
<td><strong>wallpaper</strong></td>

View file

@ -66,7 +66,7 @@
<tr>
<td><strong>id</strong></td>
<td style="text-align: center;"><a href="/type/long">long</a></td>
<td> </td>
<td>Wallpaper with no file access hash, used for example when deleting (<code>unsave=true</code>) wallpapers using <a href="/method/account.saveWallPaper">account.saveWallPaper</a>, specifying just the wallpaper ID.</td>
</tr>
<tr>
<td><strong>flags</strong></td>
@ -91,7 +91,10 @@
</tbody>
</table>
<h3><a class="anchor" href="#type" id="type" name="type"><i class="anchor-icon"></i></a>Type</h3>
<p><a href="/type/WallPaper">WallPaper</a></p></div>
<p><a href="/type/WallPaper">WallPaper</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="#accountsavewallpaper" id="accountsavewallpaper" name="accountsavewallpaper"><i class="anchor-icon"></i></a><a href="/method/account.saveWallPaper">account.saveWallPaper</a></h4>
<p>Install/uninstall wallpaper</p></div>
</div>

View file

@ -4,26 +4,10 @@
<meta charset="utf-8">
<title>auth.checkRecoveryPassword</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
code
string
 
Result
Bool">
<meta property="description" content="Check if the recovery code sent using auth.requestPasswordRecovery is valid, before passing it to auth.recoverPassword.">
<meta property="og:title" content="auth.checkRecoveryPassword">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
code
string
 
Result
Bool">
<meta property="og:description" content="Check if the recovery code sent using auth.requestPasswordRecovery is valid, before passing it to auth.recoverPassword.">
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
@ -55,7 +39,8 @@ Bool">
<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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/auth.checkRecoveryPassword" >auth.checkRecoveryPassword</a></li></ul></div>
<h1 id="dev_page_title">auth.checkRecoveryPassword</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Check if the recovery code sent using <a href="/method/auth.requestPasswordRecovery">auth.requestPasswordRecovery</a> is valid, before passing it to <a href="/method/auth.recoverPassword">auth.recoverPassword</a>.</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 133 <b class="caret"></b></a>
@ -84,12 +69,17 @@ Bool">
<tr>
<td><strong>code</strong></td>
<td style="text-align: center;"><a href="/type/string">string</a></td>
<td> </td>
<td>Code received via email</td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Bool">Bool</a></p></div>
<p><a href="/type/Bool">Bool</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="#authrequestpasswordrecovery" id="authrequestpasswordrecovery" name="authrequestpasswordrecovery"><i class="anchor-icon"></i></a><a href="/method/auth.requestPasswordRecovery">auth.requestPasswordRecovery</a></h4>
<p>Request recovery code of a <a href="/api/srp">2FA password</a>, only for accounts with a <a href="/api/srp#email-verification">recovery email configured</a>.</p>
<h4><a class="anchor" href="#authrecoverpassword" id="authrecoverpassword" name="authrecoverpassword"><i class="anchor-icon"></i></a><a href="/method/auth.recoverPassword">auth.recoverPassword</a></h4>
<p>Reset the <a href="/api/srp">2FA password</a> using the recovery code sent using <a href="/method/auth.requestPasswordRecovery">auth.requestPasswordRecovery</a>.</p></div>
</div>

View file

@ -89,7 +89,7 @@
<tr>
<td><strong>for_import</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/constructor/true">true</a></td>
<td> </td>
<td>Whether the supergroup is being created to import messages from a foreign chat service using <a href="/method/messages.initHistoryImport">messages.initHistoryImport</a></td>
</tr>
<tr>
<td><strong>title</strong></td>
@ -154,7 +154,12 @@
</table>
<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="#channels" id="channels" name="channels"><i class="anchor-icon"></i></a><a href="/api/channel">Channels</a></h4>
<p>How to handle channels, supergroups, groups, and what's the difference between them.</p></div>
<p>How to handle channels, supergroups, groups, and what's the difference between them.</p>
<h4><a class="anchor" href="#messagesinithistoryimport" id="messagesinithistoryimport" name="messagesinithistoryimport"><i class="anchor-icon"></i></a><a href="/method/messages.initHistoryImport">messages.initHistoryImport</a></h4>
<p>Import chat history from a foreign chat app into a specific Telegram chat.<br>
Make sure to call <a href="/method/messages.checkHistoryImportPeer">messages.checkHistoryImportPeer</a>, first, to make sure you have the rights to import history into this chat, and to show an additional confirmation prompt to the user with useful information returned by the RPC call.<br>
Typically, history imports are allowed for private chats with a mutual contact or <a href="/api/channel">supergroups</a> with <code>change_info</code> <a href="/api/rights">administrator rights »</a>.</p>
<p>After initializing the history import process and uploading all media files associated with the chat using <a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a>, call <a href="/method/messages.startHistoryImport">messages.startHistoryImport</a> to complete the history import process, importing all messages into the chat.</p></div>
</div>

View file

@ -41,7 +41,7 @@
<div id="dev_page_content"><p>Import chat history from a foreign chat app into a specific Telegram chat.<br>
Make sure to call <a href="/method/messages.checkHistoryImportPeer">messages.checkHistoryImportPeer</a>, first, to make sure you have the rights to import history into this chat, and to show an additional confirmation prompt to the user with useful information returned by the RPC call.<br>
Typically, history imports are allowed for private chats with a mutual contact or <a href="/api/channel">supergroups</a> with <code>change_info</code> <a href="/api/rights">administrator rights »</a>.</p>
Typically, history imports are allowed for private chats with a mutual contact or <a href="/api/channel">supergroups</a> with <a href="/api/rights"><code>change_info</code> administrator rights »</a>.</p>
<p>After initializing the history import process and uploading all media files associated with the chat using <a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a>, call <a href="/method/messages.startHistoryImport">messages.startHistoryImport</a> to complete the history import process, importing all messages into the chat.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">

View file

@ -4,34 +4,10 @@
<meta charset="utf-8">
<title>phone.checkGroupCall</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Parameters
Name
Type
Description
call
InputGroupCall
 
sources
Vector&lt;int&gt;
 
Result
Vector&lt;int&gt;
Bots can use this method">
<meta property="description" content="Check whether the group call Server Forwarding Unit is currently receiving the streams with the specified WebRTC source IDs">
<meta property="og:title" content="phone.checkGroupCall">
<meta property="og:image" content="">
<meta property="og:description" content="Parameters
Name
Type
Description
call
InputGroupCall
 
sources
Vector&lt;int&gt;
 
Result
Vector&lt;int&gt;
Bots can use this method">
<meta property="og:description" content="Check whether the group call Server Forwarding Unit is currently receiving the streams with the specified WebRTC source IDs">
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
@ -63,7 +39,8 @@ Bots can use this method">
<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="/methods" >All Methods</a></li><i class="icon icon-breadcrumb-divider"></i><li><a href="/method/phone.checkGroupCall" >phone.checkGroupCall</a></li></ul></div>
<h1 id="dev_page_title">phone.checkGroupCall</h1>
<div id="dev_page_content"><p><div class="clearfix">
<div id="dev_page_content"><p>Check whether the group call Server Forwarding Unit is currently receiving the streams with the specified WebRTC source IDs</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 133 <b class="caret"></b></a>
@ -90,17 +67,18 @@ Bots can use this method">
<tr>
<td><strong>call</strong></td>
<td style="text-align: center;"><a href="/type/InputGroupCall">InputGroupCall</a></td>
<td> </td>
<td>Group call</td>
</tr>
<tr>
<td><strong>sources</strong></td>
<td style="text-align: center;"><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/int">int</a>&gt;</td>
<td> </td>
<td>Source IDs</td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/int">int</a>&gt;</p>
<p>Returns an intersection of the source IDs specified in <code>sources</code>, and the source IDs currently being forwarded by the SFU.</p>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3></div>
</div>

View file

@ -229,7 +229,7 @@
</tr>
<tr>
<td><a href="/method/auth.checkRecoveryPassword">auth.checkRecoveryPassword</a></td>
<td> </td>
<td>Check if the recovery code sent using <a href="/method/auth.requestPasswordRecovery">auth.requestPasswordRecovery</a> is valid, before passing it to <a href="/method/auth.recoverPassword">auth.recoverPassword</a>.</td>
</tr>
<tr>
<td><a href="/method/auth.dropTempAuthKeys">auth.dropTempAuthKeys</a></td>
@ -1434,7 +1434,7 @@
</tr>
<tr>
<td><a href="/method/phone.checkGroupCall">phone.checkGroupCall</a></td>
<td> </td>
<td>Check whether the group call Server Forwarding Unit is currently receiving the streams with the specified WebRTC source IDs</td>
</tr>
<tr>
<td><a href="/method/phone.createGroupCall">phone.createGroupCall</a></td>

View file

@ -635,7 +635,7 @@
</tr>
<tr>
<td><a href="/method/auth.checkRecoveryPassword">auth.checkRecoveryPassword</a></td>
<td> </td>
<td>Check if the recovery code sent using <a href="/method/auth.requestPasswordRecovery">auth.requestPasswordRecovery</a> is valid, before passing it to <a href="/method/auth.recoverPassword">auth.recoverPassword</a>.</td>
</tr>
<tr>
<td><a href="/method/channels.viewSponsoredMessage">channels.viewSponsoredMessage</a></td>

View file

@ -83,7 +83,7 @@
<tbody>
<tr>
<td><a href="/method/messages.initHistoryImport">messages.initHistoryImport</a></td>
<td>Import chat history from a foreign chat app into a specific Telegram chat. <br>Make sure to call <a href="/method/messages.checkHistoryImportPeer">messages.checkHistoryImportPeer</a>, first, to make sure you have the rights to import history into this chat, and to show an additional confirmation prompt to the user with useful information returned by the RPC call. <br>Typically, history imports are allowed for private chats with a mutual contact or <a href="/api/channel">supergroups</a> with <code>change_info</code> <a href="/api/rights">administrator rights »</a>.<br><br>After initializing the history import process and uploading all media files associated with the chat using <a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a>, call <a href="/method/messages.startHistoryImport">messages.startHistoryImport</a> to complete the history import process, importing all messages into the chat.</td>
<td>Import chat history from a foreign chat app into a specific Telegram chat. <br>Make sure to call <a href="/method/messages.checkHistoryImportPeer">messages.checkHistoryImportPeer</a>, first, to make sure you have the rights to import history into this chat, and to show an additional confirmation prompt to the user with useful information returned by the RPC call. <br>Typically, history imports are allowed for private chats with a mutual contact or <a href="/api/channel">supergroups</a> with <a href="/api/rights"><code>change_info</code> administrator rights »</a>.<br><br>After initializing the history import process and uploading all media files associated with the chat using <a href="/method/messages.uploadImportedMedia">messages.uploadImportedMedia</a>, call <a href="/method/messages.startHistoryImport">messages.startHistoryImport</a> to complete the history import process, importing all messages into the chat.</td>
</tr>
</tbody>
</table></div>