From 1baed606b89321ce48654a693c1e78949a00d2ee Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 5 Dec 2023 21:40:52 +0000 Subject: [PATCH] Update content of files --- .../corefork.telegram.org/api/discussion.html | 2 +- .../web/corefork.telegram.org/api/layers.html | 19 + .../method/contacts.blockFromReplies.html | 12 +- data/web/corefork.telegram.org/methods.html | 2 +- .../mtproto/samples-auth_key.html | 412 +++++++++--------- .../corefork.telegram.org/type/Updates.html | 2 +- 6 files changed, 234 insertions(+), 215 deletions(-) diff --git a/data/web/corefork.telegram.org/api/discussion.html b/data/web/corefork.telegram.org/api/discussion.html index 8fff80e4cb..ac17360399 100644 --- a/data/web/corefork.telegram.org/api/discussion.html +++ b/data/web/corefork.telegram.org/api/discussion.html @@ -62,7 +62,7 @@

A discussion group can be associated to a channel using channels.setDiscussionGroup.
The discussion group can be accessed in the client by clicking on the discuss button of the channel, or by accessing the comment section of a specific post; the discussion group ID is also present in the linked_chat_id field of the channelFull constructor.

All messages sent to the channel will also be forwarded to the linked group (with sender peer from_id equal to the peer of the linked channel); those messages will also be automatically pinned in the group.

-

The comment section of a channel post is simply the message thread of the automatically forwarded channel message in the linked discussion supergroup.
+

The comment section of a channel post is simply the message thread of the automatically forwarded channel message in the linked discussion supergroup.
Thus, the comment section of a particular post can be disabled by removing the autoforwarded channel post message from the discussion group.

A messageReplies constructor will be attached the channel post in the original channel, containing information about the comment section, specifically: