Update content of files

This commit is contained in:
GitHub Action 2023-04-14 17:39:00 +00:00
parent 39bf7db2b7
commit fb3e040df6
7 changed files with 21 additions and 16 deletions

View file

@ -259,7 +259,6 @@ While <a href="/method/help.getConfig">help.getConfig</a> returns MTProto-specif
],
"premium_bot_username": "PremiumBot",
"premium_playmarket_direct_currency_list": ["USD"],
"forum_upgrade_participants_min": 0,
"whitelisted_domains": [
"telegram.dog",
"telegram.me",
@ -275,7 +274,6 @@ While <a href="/method/help.getConfig">help.getConfig</a> returns MTProto-specif
"888"
],
"hidden_members_group_size_min": 100,
"ios_disable_parallel_channel_reset": 1,
"premium_gift_attach_menu_icon": true,
"premium_gift_text_field_icon": false
}</code></pre>
@ -312,16 +310,16 @@ While <a href="/method/help.getConfig">help.getConfig</a> returns MTProto-specif
<p>Whether clients <em>can</em> invoke <a href="/method/account.setGlobalPrivacySettings">account.setGlobalPrivacySettings</a> with <a href="/constructor/globalPrivacySettings"><code>globalPrivacySettings.archive_and_mute_new_noncontact_peers = boolTrue</code></a>, to automatically archive and mute new incoming chats from non-contacts. (boolean)</p>
<h4><a class="anchor" href="#pending-suggestions" id="pending-suggestions" name="pending-suggestions"><i class="anchor-icon"></i></a><code>pending_suggestions</code></h4>
<p>Contains a list of suggestions that should be actively shown as a tooltip to the user. (Array of strings, possible values shown <a href="#suggestions">in the suggestions section »</a>. </p>
<h4><a class="anchor" href="#forum-upgrade-participants-min" id="forum-upgrade-participants-min" name="forum-upgrade-participants-min"><i class="anchor-icon"></i></a><code>forum_upgrade_participants_min</code></h4>
<h4><a class="anchor" href="#topics-pinned-limit" id="topics-pinned-limit" name="topics-pinned-limit"><i class="anchor-icon"></i></a><code>topics_pinned_limit</code></h4>
<p>Maximum number of <a href="/api/forum#forum-topics">topics</a> that can be pinned in a single <a href="/api/forum">forum</a>. (integer)</p>
<h4><a class="anchor" href="#telegram-antispam-user-id" id="telegram-antispam-user-id" name="telegram-antispam-user-id"><i class="anchor-icon"></i></a><code>telegram_antispam_user_id</code></h4>
<p>The ID of the official <a href="/api/antispam">native antispam bot</a>, that will automatically delete spam messages if enabled as specified in the <a href="/api/antispam">native antispam documentation »</a>.<br>
When fetching the admin list of a supergroup using <a href="/method/channels.getParticipants">channels.getParticipants</a>, if native antispam functionality in the specified supergroup, the bot should be manually added to the admin list displayed to the user. </p>
When fetching the admin list of a supergroup using <a href="/method/channels.getParticipants">channels.getParticipants</a>, if native antispam functionality in the specified supergroup, the bot should be manually added to the admin list displayed to the user. (numeric string that represents a Telegram user/bot ID, should be casted to an int64)</p>
<h4><a class="anchor" href="#telegram-antispam-group-size-min" id="telegram-antispam-group-size-min" name="telegram-antispam-group-size-min"><i class="anchor-icon"></i></a><code>telegram_antispam_group_size_min</code></h4>
<p>Minimum number of members required to enable <a href="/api/antispam">native antispam functionality</a>.</p>
<p>Minimum number of members required to enable <a href="/api/antispam">native antispam functionality</a>. (integer)</p>
<h4><a class="anchor" href="#fragment-prefixes" id="fragment-prefixes" name="fragment-prefixes"><i class="anchor-icon"></i></a><code>fragment_prefixes</code></h4>
<h4><a class="anchor" href="#hidden-members-group-size-min" id="hidden-members-group-size-min" name="hidden-members-group-size-min"><i class="anchor-icon"></i></a><code>hidden_members_group_size_min</code></h4>
<h4><a class="anchor" href="#ios-disable-parallel-channel-reset" id="ios-disable-parallel-channel-reset" name="ios-disable-parallel-channel-reset"><i class="anchor-icon"></i></a><code>ios_disable_parallel_channel_reset</code></h4>
<p>Minimum number of participants required to hide the participants list of a supergroup using <a href="/method/channels.toggleParticipantsHidden">channels.toggleParticipantsHidden</a>. (integer)</p>
<h4><a class="anchor" href="#premium-gift-attach-menu-icon" id="premium-gift-attach-menu-icon" name="premium-gift-attach-menu-icon"><i class="anchor-icon"></i></a><code>premium_gift_attach_menu_icon</code></h4>
<h4><a class="anchor" href="#premium-gift-text-field-icon" id="premium-gift-text-field-icon" name="premium-gift-text-field-icon"><i class="anchor-icon"></i></a><code>premium_gift_text_field_icon</code></h4>
<h4><a class="anchor" href="#url-auth-domains" id="url-auth-domains" name="url-auth-domains"><i class="anchor-icon"></i></a><code>url_auth_domains</code></h4>
@ -331,7 +329,7 @@ When fetching the admin list of a supergroup using <a href="/method/channels.get
<h4><a class="anchor" href="#autologin-domains" id="autologin-domains" name="autologin-domains"><i class="anchor-icon"></i></a><code>autologin_domains</code></h4>
<p>A list of Telegram domains that support automatic login with no user confirmation, <a href="/api/url-authorization#link-url-authorization">click here for more info on URL authorization »</a>. (array of strings)</p>
<h4><a class="anchor" href="#round-video-encoding" id="round-video-encoding" name="round-video-encoding"><i class="anchor-icon"></i></a><code>round_video_encoding</code></h4>
<p>Contains a set of recommended codec parameters for round videos. </p>
<p>Contains a set of recommended codec parameters for round videos. (object, as described in the example)</p>
<h4><a class="anchor" href="#chat-read-mark-size-threshold" id="chat-read-mark-size-threshold" name="chat-read-mark-size-threshold"><i class="anchor-icon"></i></a><code>chat_read_mark_size_threshold</code></h4>
<p>Per-user read receipts, fetchable using <a href="/method/messages.getMessageReadParticipants">messages.getMessageReadParticipants</a>, will be available in groups with an amount of participants less or equal to <code>chat_read_mark_size_threshold</code>. (integer)</p>
<h4><a class="anchor" href="#chat-read-mark-expire-period" id="chat-read-mark-expire-period" name="chat-read-mark-expire-period"><i class="anchor-icon"></i></a><code>chat_read_mark_expire_period</code></h4>

View file

@ -100,7 +100,8 @@ All topics except for the "General" topic can be deleted by invoking <a href="/m
<p>Topics can be created by using the <a href="/method/channels.createForumTopic">channels.createForumTopic</a> method, and may be modified with the <a href="/method/channels.editForumTopic">channels.editForumTopic</a> method: these actions require <a href="/api/rights"><code>manage_topics</code> rights</a>, and will generate <a href="/constructor/messageActionTopicCreate">messageActionTopicCreate</a>/<a href="/constructor/messageActionTopicEdit">messageActionTopicEdit</a> service messages. </p>
<p>Note that <a href="/api/premium">Telegram Premium</a> users can pass any custom emoji to <code>icon_emoji_id</code>, while other users can only use the custom emojis contained in the <a href="/constructor/inputStickerSetEmojiDefaultTopicIcons">inputStickerSetEmojiDefaultTopicIcons</a> emoji pack.<br>
If the default chat icon is used, its color cannot be modified after creating the topic. </p>
<p>Topics may be pinned or unpinned using <a href="/method/channels.updatePinnedForumTopic">channels.updatePinnedForumTopic</a>; use <a href="/method/channels.reorderPinnedForumTopics">channels.reorderPinnedForumTopics</a> to reorder pinned topics.</p></div>
<p>Topics may be pinned or unpinned using <a href="/method/channels.updatePinnedForumTopic">channels.updatePinnedForumTopic</a>; use <a href="/method/channels.reorderPinnedForumTopics">channels.reorderPinnedForumTopics</a> to reorder pinned topics.<br>
You can pin at most <code>topics_pinned_limit</code> topics per forum, as specified by the <a href="/api/config#client-configuration">client configuration parameters »</a>.</p></div>
</div>

View file

@ -64,7 +64,7 @@
<a href='/method/channels.deactivateAllUsernames'>channels.deactivateAllUsernames</a>#0a245dd3 channel:<a href='/type/InputChannel'>InputChannel</a> = <a href='/type/Bool'>Bool</a>;</code></pre>
<p>The ownership of collectible usernames is secured by TON, a fast and scalable blockchain network. They can be bought and sold through the <a href="https://fragment.com">Fragment platform »</a>, giving a simple and secure way to acquire and exchange valuable Telegram domains. </p>
<p>Collectible usernames work just like basic <a href="https://t.me/username">@usernames</a>, they appear in Global Search results and have <a href="/api/links#public-username-links">deep links »</a>, just like basic usernames. </p>
<p>Clients may associate or dissociate a purchased collectible username either to the current account by using <a href="/method/account.toggleUsername">account.toggleUsername</a>, <em>or</em> to a <a href="/api/channel">channel or supergroup</a> by using <a href="/method/channels.toggleUsername">channels.toggleUsername</a>.<br>
<p>Clients may associate or dissociate purchased collectible usernames either to the current account by using <a href="/method/account.toggleUsername">account.toggleUsername</a>, <em>or</em> to a <a href="/api/channel">channel or supergroup</a> by using <a href="/method/channels.toggleUsername">channels.toggleUsername</a>.<br>
Note that you can't dissociate the basic (non-collectible) username, if any. </p>
<p><a href="/method/channels.deactivateAllUsernames">channels.deactivateAllUsernames</a> may also be used to dissociate all collectible usernames associated to a certain supergroup or channel.</p>
<p>Use <a href="/method/account.reorderUsernames">account.reorderUsernames</a>/<a href="/method/channels.reorderUsernames">channels.reorderUsernames</a> to change the order of the usernames associated to an account, channel or supergroup.<br>

View file

@ -262,7 +262,7 @@
<h5><a class="anchor" href="#new-methods" id="new-methods" name="new-methods"><i class="anchor-icon"></i></a>New Methods</h5>
<ul>
<li>Added <a href="/method/photos.uploadContactProfilePhoto">photos.uploadContactProfilePhoto</a> - Upload a custom profile picture for a contact, or suggest a new profile picture to a contact.</li>
<li>Added <a href="/method/channels.toggleParticipantsHidden">channels.toggleParticipantsHidden</a> - Hide or display the participants list in a supergroup</li>
<li>Added <a href="/method/channels.toggleParticipantsHidden">channels.toggleParticipantsHidden</a> - Hide or display the participants list in a <a href="/api/channel">supergroup</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>

View file

@ -4,10 +4,10 @@
<meta charset="utf-8">
<title>channels.toggleParticipantsHidden</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Hide or display the participants list in a supergroup">
<meta property="description" content="Hide or display the participants list in a supergroup.">
<meta property="og:title" content="channels.toggleParticipantsHidden">
<meta property="og:image" content="">
<meta property="og:description" content="Hide or display the participants list in a supergroup">
<meta property="og:description" content="Hide or display the participants list in a supergroup.">
<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">
@ -42,7 +42,8 @@
<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/channels.toggleParticipantsHidden" >channels.toggleParticipantsHidden</a></li></ul></div>
<h1 id="dev_page_title">channels.toggleParticipantsHidden</h1>
<div id="dev_page_content"><p>Hide or display the participants list in a supergroup</p>
<div id="dev_page_content"><p>Hide or display the participants list in a <a href="/api/channel">supergroup</a>.</p>
<p>The supergroup must have at least <code>hidden_members_group_size_min</code> participants in order to use this method, as specified by the <a href="/api/config#client-configuration">client configuration parameters »</a>.</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">
@ -88,7 +89,12 @@
</table>
<h3><a class="anchor" href="#result" id="result" name="result"><i class="anchor-icon"></i></a>Result</h3>
<p><a href="/type/Updates">Updates</a></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>
<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>
<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-supergroups-gigagroups-and-basic-groups" id="channels-supergroups-gigagroups-and-basic-groups" name="channels-supergroups-gigagroups-and-basic-groups"><i class="anchor-icon"></i></a><a href="/api/channel">Channels, supergroups, gigagroups and basic groups</a></h4>
<p>How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.</p>
<h4><a class="anchor" href="#client-configuration" id="client-configuration" name="client-configuration"><i class="anchor-icon"></i></a><a href="/api/config">Client configuration</a></h4>
<p>The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.</p></div>
</div>

View file

@ -679,7 +679,7 @@
</tr>
<tr>
<td><a href="/method/channels.toggleParticipantsHidden">channels.toggleParticipantsHidden</a></td>
<td>Hide or display the participants list in a supergroup</td>
<td>Hide or display the participants list in a <a href="/api/channel">supergroup</a>.<br><br>The supergroup must have at least <code>hidden_members_group_size_min</code> participants in order to use this method, as specified by the <a href="/api/config#client-configuration">client configuration parameters »</a>.</td>
</tr>
</tbody>
</table>

View file

@ -533,7 +533,7 @@
</tr>
<tr>
<td><a href="/method/channels.toggleParticipantsHidden">channels.toggleParticipantsHidden</a></td>
<td>Hide or display the participants list in a supergroup</td>
<td>Hide or display the participants list in a <a href="/api/channel">supergroup</a>.<br><br>The supergroup must have at least <code>hidden_members_group_size_min</code> participants in order to use this method, as specified by the <a href="/api/config#client-configuration">client configuration parameters »</a>.</td>
</tr>
<tr>
<td><a href="/method/messages.sendBotRequestedPeer">messages.sendBotRequestedPeer</a></td>