Update content of files

This commit is contained in:
GitHub Action 2022-03-09 14:36:47 +00:00
parent 434dffd3ba
commit 6e7b8a323c
18 changed files with 93 additions and 82 deletions

View file

@ -92,9 +92,7 @@ While <a href="/method/help.getConfig">help.getConfig</a> returns MTProto-specif
<li><code>chat_read_mark_expire_period</code> - To protect user privacy, read receipts are only stored for <code>chat_read_mark_expire_period</code> seconds after the message was sent. (int)</li>
<li><code>groupcall_video_participants_max</code> - Maximum number of participants in a group call (livestreams allow ∞ participants) (int)</li>
<li><code>reactions_default</code> - Default emoji reaction to use in the quick reaction menu, this value can be changed using <a href="/method/messages.setDefaultReaction">messages.setDefaultReaction</a> (string)</li>
<li><code>reactions_uniq_max</code> -</li>
<li><code>export_urls</code> - </li>
<li><code>export_group_urls</code> - </li>
<li><code>reactions_uniq_max</code> - Maximum number of unique reaction-emojis for any given message: for example, if there are 2000 <img class="emoji" src="//telegram.org/img/emoji/40/F09F918D.png" width="20" height="20" alt="👍" /> and 1000 <img class="emoji" src="//telegram.org/img/emoji/40/F09F9881.png" width="20" height="20" alt="😁" /> reactions and reactions_uniq_max = 2, you can't add a <img class="emoji" src="//telegram.org/img/emoji/40/F09F918E.png" width="20" height="20" alt="👎" /> reaction, because that would raise the number of unique reaction-emojis to 3 &gt; 2. (integer)</li>
</ul>
<p>Example value: </p>
<pre><code class="language-json">{
@ -199,15 +197,6 @@ While <a href="/method/help.getConfig">help.getConfig</a> returns MTProto-specif
],
"stickers_emoji_suggest_only_api": false,
"stickers_emoji_cache_time": 86400,
"export_urls": [
"content:\/\/com.whatsapp.provider.media\/export_chat\/"
],
"export_group_urls": [
"@g.us\/"
],
"export_private_urls": [
"@s.whatsapp.net\/"
],
"groupcall_video_participants_max": 1000,
"qr_login_camera": true,
"qr_login_code": "primary",

View file

@ -55,7 +55,8 @@
<a href='/method/channels.getGroupsForDiscussion'>channels.getGroupsForDiscussion</a>#f5dad378 = <a href='/type/messages.Chats'>messages.Chats</a>;</code></pre>
<p>A discussion group can be associated to a channel using <a href="/method/channels.setDiscussionGroup">channels.setDiscussionGroup</a>.<br>
The discussion group can be accessed in the client by clicking on the discuss button of the channel, or by accessing the <a href="/api/threads">comment section</a> of a specific post; the discussion group ID is also present in the <code>linked_chat_id</code> field of the <a href="/constructor/channelFull">channelFull</a> constructor. </p>
<p>All messages sent to the channel will also be sent to the linked group (with sender peer <code>from_id</code> equal to the peer of the linked channel); those messages will also be automatically <a href="/api/pin">pinned</a> in the group.</p>
<p>All messages sent to the channel will also be sent to the linked group (with sender peer <code>from_id</code> equal to the peer of the linked channel); those messages will also be automatically <a href="/api/pin">pinned</a> in the group.<br>
The comment section of a particular post can be disabled by removing the channel post message from the discussion group. </p>
<h3><a class="anchor" href="#linking-a-discussion-group" id="linking-a-discussion-group" name="linking-a-discussion-group"><i class="anchor-icon"></i></a>Linking a discussion group</h3>
<p>To obtain a list of admined supergroups that a channel admin can possibly associate to a channel, use <a href="/method/channels.getGroupsForDiscussion">channels.getGroupsForDiscussion</a>.<br>
Returned <a href="/api/channel">legacy group chats</a> must be first <a href="/api/channel#migration">upgraded to supergroups</a> before they can be set as a discussion group.<br>

View file

@ -98,7 +98,7 @@ You can use <a href="/method/channels.updateUsername">channels.checkUsername</a>
<p>Private invite links can optionally have an expiration date, a usage limit, and can even be set to only allow users into the channel, supergroup or group upon explicit approval of an admin: see <a href="#join-requests">join requests »</a> for more info.</p>
<p>Invite links match the following regex: <code>@(?:t|telegram)\.(?:me|dog)/(joinchat/|\+)?([\w-]+)@i</code>.<br>
The first matching group can be passed to the <code>hash</code> parameter of <a href="/method/messages.checkChatInvite">messages.checkChatInvite</a> to get info about the chat, and <a href="/method/messages.importChatInvite">messages.importChatInvite</a> to join the chat.<br>
<a href="/method/messages.checkChatInvite">messages.checkChatInvite</a> may return <a href="/constructor/chatInvitePeek">chatInvitePeek</a>, in which case the user may directly use to fetch chat messages until the time indicate by the <code>expires</code> unixtime field.</p>
<a href="/method/messages.checkChatInvite">messages.checkChatInvite</a> may return <a href="/constructor/chatInvitePeek">chatInvitePeek</a>, in which case the user may directly fetch chat messages using <a href="/api/updates">updates</a> and <a href="/method/messages.getHistory">messages.getHistory</a> until the time indicated by the <code>expires</code> unixtime field.</p>
<p>Newly created groups, supergroups and channel already have a default invite link.<br>
To generate a new one, use <a href="/method/messages.exportChatInvite">messages.exportChatInvite</a>.<br>
To get info about existing chat invites, optionally filtering only links created by a given admin, use <a href="/method/messages.getExportedChatInvites">messages.getExportedChatInvites</a>.<br>

View file

@ -237,7 +237,7 @@ Layer…">
<li>Added <a href="/constructor/messages.stickerSetNotModified">messages.stickerSetNotModified</a> - The stickerset hasn't changed</li>
<li>Added <a href="/constructor/users.userFull">users.userFull</a> - Full user information</li>
<li>Added <a href="/constructor/messages.peerSettings">messages.peerSettings</a> - Peer settings</li>
<li>Added <a href="/constructor/channelAdminLogEventActionSendMessage">channelAdminLogEventActionSendMessage</a> - A message was sent</li>
<li>Added <a href="/constructor/channelAdminLogEventActionSendMessage">channelAdminLogEventActionSendMessage</a> - A message was posted in a channel</li>
<li>Added <a href="/constructor/auth.codeTypeMissedCall">auth.codeTypeMissedCall</a> - The next time, the authentication code will be delivered via an immediately canceled incoming call, handled manually by the user.</li>
<li>Added <a href="/constructor/auth.sentCodeTypeMissedCall">auth.sentCodeTypeMissedCall</a> - The code will be sent via a flash phone call, that will be closed immediately. The last digits of the phone number that calls are the code that must be entered manually by the user.</li>
<li>Added <a href="/constructor/auth.loggedOut">auth.loggedOut</a> - Authentication token to be used on subsequent authorizations</li>

View file

@ -106,17 +106,17 @@
<tr>
<td><strong>effect_animation</strong></td>
<td style="text-align: center;"><a href="/type/Document">Document</a></td>
<td>The background effect (still an animated sticker) to play under the activate_animation, when the reaction is chosen and activated</td>
<td>The background effect (still an animated sticker) to play under the <code>activate_animation</code>, when the reaction is chosen and activated</td>
</tr>
<tr>
<td><strong>around_animation</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/Document">Document</a></td>
<td> </td>
<td>The animation that plays around the button when you press an existing reaction (played together with <code>center_icon</code>).</td>
</tr>
<tr>
<td><strong>center_icon</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/type/Document">Document</a></td>
<td> </td>
<td>The animation of the emoji inside the button when you press an existing reaction (played together with <code>around_animation</code>).</td>
</tr>
</tbody>
</table>

View file

@ -4,10 +4,10 @@
<meta charset="utf-8">
<title>channelAdminLogEventActionSendMessage</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="A message was sent">
<meta property="description" content="A message was posted in a channel">
<meta property="og:title" content="channelAdminLogEventActionSendMessage">
<meta property="og:image" content="">
<meta property="og:description" content="A message was sent">
<meta property="og:description" content="A message was posted in a channel">
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
@ -39,7 +39,7 @@
<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/channelAdminLogEventActionSendMessage" >channelAdminLogEventActionSendMessage</a></li></ul></div>
<h1 id="dev_page_title">channelAdminLogEventActionSendMessage</h1>
<div id="dev_page_content"><p>A message was sent</p>
<div id="dev_page_content"><p>A message was posted in a channel</p>
<p><div class="clearfix">
<ul class="dev_layer_select slightly-pull-right nav nav-pills">
<li class="dropdown">

View file

@ -151,7 +151,7 @@
<tr>
<td><strong>send</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.16?<a href="/constructor/true">true</a></td>
<td> </td>
<td>A message was posted in a channel</td>
</tr>
</tbody>
</table>

View file

@ -142,11 +142,6 @@
</tr>
<tr>
<td>400</td>
<td>PINNED_DIALOGS_TOO_MUCH</td>
<td>Too many pinned dialogs.</td>
</tr>
<tr>
<td>400</td>
<td>USER_ADMIN_INVALID</td>
<td>You're not an admin.</td>
</tr>

View file

@ -97,6 +97,16 @@
<tbody>
<tr>
<td>400</td>
<td>CHAT_ADMIN_REQUIRED</td>
<td>You must be an admin in this chat to do this.</td>
</tr>
<tr>
<td>400</td>
<td>CHAT_NOT_MODIFIED</td>
<td>The pinned message wasn't modified.</td>
</tr>
<tr>
<td>400</td>
<td>MEGAGROUP_REQUIRED</td>
<td>You can only use this method on a supergroup.</td>
</tr>

View file

@ -123,7 +123,7 @@
<tr>
<td>403</td>
<td>EDIT_BOT_INVITE_FORBIDDEN</td>
<td> </td>
<td>Normal users can't edit invites that were created by bots.</td>
</tr>
<tr>
<td>400</td>

View file

@ -253,7 +253,7 @@
<tr>
<td>400</td>
<td>QUIZ_ANSWER_MISSING</td>
<td> </td>
<td>You can forward a quiz while hiding the original author only after choosing an option in the quiz.</td>
</tr>
<tr>
<td>500</td>

View file

@ -141,7 +141,7 @@
</tr>
<tr>
<td>400</td>
<td>SEARCH_WITH_LINK_NOT_SUPPROTED</td>
<td>SEARCH_WITH_LINK_NOT_SUPPORTED</td>
<td>You cannot provide a search query and an invite link at the same time.</td>
</tr>
</tbody>

View file

@ -146,6 +146,11 @@
<td>You must be an admin in this chat to do this.</td>
</tr>
<tr>
<td>400</td>
<td>CHAT_FORWARDS_RESTRICTED</td>
<td>You can't forward messages from a protected chat.</td>
</tr>
<tr>
<td>403</td>
<td>CHAT_WRITE_FORBIDDEN</td>
<td>You can't write in this chat.</td>

View file

@ -103,7 +103,7 @@
<tr>
<td>400</td>
<td>INVITE_FORBIDDEN_WITH_JOINAS</td>
<td> </td>
<td>If the user has anonymously joined a group call as a channel, they can't invite other users to the group call because that would cause deanonymization, because the invite would be sent using the original user ID, not the anonymized channel ID.</td>
</tr>
<tr>
<td>400</td>

View file

@ -87,7 +87,7 @@
<tr>
<td>400</td>
<td>ALBUM_PHOTOS_TOO_MANY</td>
<td> </td>
<td>You have uploaded too many profile photos, delete some before retrying.</td>
</tr>
<tr>
<td>400</td>

View file

@ -102,7 +102,7 @@
<tr>
<td>400</td>
<td>ALBUM_PHOTOS_TOO_MANY</td>
<td> </td>
<td>You have uploaded too many profile photos, delete some before retrying.</td>
</tr>
<tr>
<td>400</td>

View file

@ -637,6 +637,65 @@
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#working-with-chat-invites-and-join-requests" id="working-with-chat-invites-and-join-requests" name="working-with-chat-invites-and-join-requests"><i class="anchor-icon"></i></a>Working with <a href="/api/invites">chat invites and join requests</a></h3>
<table class="table">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="/method/messages.exportChatInvite">messages.exportChatInvite</a></td>
<td>Export an invite link for a chat</td>
</tr>
<tr>
<td><a href="/method/messages.getExportedChatInvite">messages.getExportedChatInvite</a></td>
<td>Get info about a chat invite</td>
</tr>
<tr>
<td><a href="/method/messages.getExportedChatInvites">messages.getExportedChatInvites</a></td>
<td>Get info about the chat invites of a specific chat</td>
</tr>
<tr>
<td><a href="/method/messages.editExportedChatInvite">messages.editExportedChatInvite</a></td>
<td>Edit an exported chat invite</td>
</tr>
<tr>
<td><a href="/method/messages.deleteRevokedExportedChatInvites">messages.deleteRevokedExportedChatInvites</a></td>
<td>Delete all revoked chat invites</td>
</tr>
<tr>
<td><a href="/method/messages.deleteExportedChatInvite">messages.deleteExportedChatInvite</a></td>
<td>Delete a chat invite</td>
</tr>
<tr>
<td><a href="/method/messages.getAdminsWithInvites">messages.getAdminsWithInvites</a></td>
<td>Get info about chat invites generated by admins.</td>
</tr>
<tr>
<td><a href="/method/messages.getChatInviteImporters">messages.getChatInviteImporters</a></td>
<td>Get info about the users that joined the chat using a specific chat invite</td>
</tr>
<tr>
<td><a href="/method/messages.checkChatInvite">messages.checkChatInvite</a></td>
<td>Check the validity of a chat invite link and get basic info about it</td>
</tr>
<tr>
<td><a href="/method/messages.importChatInvite">messages.importChatInvite</a></td>
<td>Import a chat invite and join a private chat/supergroup/channel</td>
</tr>
<tr>
<td><a href="/method/messages.hideChatJoinRequest">messages.hideChatJoinRequest</a></td>
<td>Dismiss or approve a chat <a href="/api/invites#join-requests">join request</a> related to a specific chat or channel.</td>
</tr>
<tr>
<td><a href="/method/messages.hideAllChatJoinRequests">messages.hideAllChatJoinRequests</a></td>
<td>Dismiss or approve all <a href="/api/invites#join-requests">join requests</a> related to a specific chat or channel.</td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#working-with-chatssupergroupschannels" id="working-with-chatssupergroupschannels" name="working-with-chatssupergroupschannels"><i class="anchor-icon"></i></a>Working with <a href="/api/channel">chats/supergroups/channels</a></h3>
<table class="table">
<thead>
@ -655,10 +714,6 @@
<td>Adds a user to a chat and sends a service message on it.</td>
</tr>
<tr>
<td><a href="/method/messages.checkChatInvite">messages.checkChatInvite</a></td>
<td>Check the validity of a chat invite link and get basic info about it</td>
</tr>
<tr>
<td><a href="/method/messages.createChat">messages.createChat</a></td>
<td>Creates a new chat.</td>
</tr>
@ -687,10 +742,6 @@
<td>Changes chat name and sends a service message on it.</td>
</tr>
<tr>
<td><a href="/method/messages.exportChatInvite">messages.exportChatInvite</a></td>
<td>Export an invite link for a chat</td>
</tr>
<tr>
<td><a href="/method/messages.getAllChats">messages.getAllChats</a></td>
<td>Get all chats, channels and supergroups</td>
</tr>
@ -699,22 +750,6 @@
<td>Returns chat basic info on their IDs.</td>
</tr>
<tr>
<td><a href="/method/messages.getAdminsWithInvites">messages.getAdminsWithInvites</a></td>
<td>Get info about chat invites generated by admins.</td>
</tr>
<tr>
<td><a href="/method/messages.deleteExportedChatInvite">messages.deleteExportedChatInvite</a></td>
<td>Delete a chat invite</td>
</tr>
<tr>
<td><a href="/method/messages.getChatInviteImporters">messages.getChatInviteImporters</a></td>
<td>Get info about the users that joined the chat using a specific chat invite</td>
</tr>
<tr>
<td><a href="/method/messages.deleteRevokedExportedChatInvites">messages.deleteRevokedExportedChatInvites</a></td>
<td>Delete all revoked chat invites</td>
</tr>
<tr>
<td><a href="/method/messages.deleteChat">messages.deleteChat</a></td>
<td>Delete a <a href="/api/channel">chat</a></td>
</tr>
@ -727,30 +762,6 @@
<td>Returns full chat info according to its ID.</td>
</tr>
<tr>
<td><a href="/method/messages.importChatInvite">messages.importChatInvite</a></td>
<td>Import a chat invite and join a private chat/supergroup/channel</td>
</tr>
<tr>
<td><a href="/method/messages.getExportedChatInvite">messages.getExportedChatInvite</a></td>
<td>Get info about a chat invite</td>
</tr>
<tr>
<td><a href="/method/messages.editExportedChatInvite">messages.editExportedChatInvite</a></td>
<td>Edit an exported chat invite</td>
</tr>
<tr>
<td><a href="/method/messages.getExportedChatInvites">messages.getExportedChatInvites</a></td>
<td>Get info about the chat invites of a specific chat</td>
</tr>
<tr>
<td><a href="/method/messages.hideChatJoinRequest">messages.hideChatJoinRequest</a></td>
<td>Dismiss or approve a chat <a href="/api/invites#join-requests">join request</a> related to a specific chat or channel.</td>
</tr>
<tr>
<td><a href="/method/messages.hideAllChatJoinRequests">messages.hideAllChatJoinRequests</a></td>
<td>Dismiss or approve all <a href="/api/invites#join-requests">join requests</a> related to a specific chat or channel.</td>
</tr>
<tr>
<td><a href="/method/messages.migrateChat">messages.migrateChat</a></td>
<td>Turn a <a href="/api/channel">legacy group into a supergroup</a></td>
</tr>

View file

@ -235,7 +235,7 @@
</tr>
<tr>
<td><a href="/constructor/channelAdminLogEventActionSendMessage">channelAdminLogEventActionSendMessage</a></td>
<td>A message was sent</td>
<td>A message was posted in a channel</td>
</tr>
<tr>
<td><a href="/constructor/channelAdminLogEventActionChangeAvailableReactions">channelAdminLogEventActionChangeAvailableReactions</a></td>