From d7e129ec3485459feac089578ce1da271e0aa6c1 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sat, 25 Mar 2023 13:59:14 +0000 Subject: [PATCH] Update content of files --- data/web/corefork.telegram.org/api/forum.html | 76 ++++++++++++++++--- .../api/recent-actions.html | 7 ++ .../web/corefork.telegram.org/api/themes.html | 2 +- .../constructor/chatAdminRights.html | 6 +- .../constructor/chatBannedRights.html | 22 +++--- .../constructor/messageReplyHeader.html | 4 +- .../method/channels.createChannel | 2 + .../method/channels.createForumTopic | 2 + .../method/channels.deleteTopicHistory | 5 +- .../method/channels.getForumTopics | 4 +- .../method/channels.reorderPinnedForumTopics | 5 +- .../method/channels.toggleForum | 5 +- .../method/channels.updatePinnedForumTopic | 5 +- 13 files changed, 117 insertions(+), 28 deletions(-) diff --git a/data/web/corefork.telegram.org/api/forum.html b/data/web/corefork.telegram.org/api/forum.html index 3c174d560a..7bea570790 100644 --- a/data/web/corefork.telegram.org/api/forum.html +++ b/data/web/corefork.telegram.org/api/forum.html @@ -2,12 +2,12 @@ - Page not found + Forums - - + + - + @@ -39,10 +39,65 @@
- -

Page not found

+ +

Forums

-
The page has not been saved
+
+ +

Telegram allows creating forums with multiple distinct topics.

+

Forums

+
channel#83259464 flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector<RestrictionReason> admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector<Username> = Chat;
+
+channelAdminLogEventActionToggleForum#02cc6383 new_value:Bool = ChannelAdminLogEventAction;
+
+---functions---
+
+channels.createChannel#91006707 flags:# broadcast:flags.0?true megagroup:flags.1?true for_import:flags.3?true forum:flags.5?true title:string about:string geo_point:flags.2?InputGeoPoint address:flags.2?string ttl_period:flags.4?int = Updates;
+
+channels.toggleForum#a4298b29 channel:InputChannel enabled:Bool = Updates;
+

Forums may be created either by invoking channels.createChannel with the forum flag set, or by converting an existing supergroup into a forum using channels.toggleForum with enabled=true.

+

Forums can also be converted back to supergroups using channels.toggleForum with enabled=false.

+

Note that the channels.toggleForum method can only be invoked by admins with owner rights.

+

Forums have the channel.forum flag set, and conversation happens in distinct forum topics.

+

Forum topics

+
chatAdminRights#5fb224d5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true pin_messages:flags.7?true add_admins:flags.9?true anonymous:flags.10?true manage_call:flags.11?true other:flags.12?true manage_topics:flags.13?true = ChatAdminRights;
+chatBannedRights#9f120418 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true send_polls:flags.8?true change_info:flags.10?true invite_users:flags.15?true pin_messages:flags.17?true manage_topics:flags.18?true send_photos:flags.19?true send_videos:flags.20?true send_roundvideos:flags.21?true send_audios:flags.22?true send_voices:flags.23?true send_docs:flags.24?true send_plain:flags.25?true until_date:int = ChatBannedRights;
+
+updateChannelPinnedTopic#192efbe3 flags:# pinned:flags.0?true channel_id:long topic_id:int = Update;
+updateChannelPinnedTopics#fe198602 flags:# channel_id:long order:flags.0?Vector<int> = Update;
+
+channelAdminLogEventActionCreateTopic#58707d28 topic:ForumTopic = ChannelAdminLogEventAction;
+channelAdminLogEventActionEditTopic#f06fe208 prev_topic:ForumTopic new_topic:ForumTopic = ChannelAdminLogEventAction;
+channelAdminLogEventActionDeleteTopic#ae168909 topic:ForumTopic = ChannelAdminLogEventAction;
+channelAdminLogEventActionPinTopic#5d8d353b flags:# prev_topic:flags.0?ForumTopic new_topic:flags.1?ForumTopic = ChannelAdminLogEventAction;
+forumTopicDeleted#023f109b id:int = ForumTopic;
+forumTopic#71701da9 flags:# my:flags.1?true closed:flags.2?true pinned:flags.3?true short:flags.5?true hidden:flags.6?true id:int date:int title:string icon_color:int icon_emoji_id:flags.0?long top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int from_id:Peer notify_settings:PeerNotifySettings draft:flags.4?DraftMessage = ForumTopic;
+
+messages.forumTopics#367617d3 flags:# order_by_create_date:flags.0?true count:int topics:Vector<ForumTopic> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> pts:int = messages.ForumTopics;
+messageActionTopicCreate#0d999256 flags:# title:string icon_color:int icon_emoji_id:flags.0?long = MessageAction;
+messageActionTopicEdit#c0944820 flags:# title:flags.0?string icon_emoji_id:flags.1?long closed:flags.2?Bool hidden:flags.3?Bool = MessageAction;
+
+updateChannelPinnedTopic#192efbe3 flags:# pinned:flags.0?true channel_id:long topic_id:int = Update;
+
+inputNotifyForumTopic#5c467992 peer:InputPeer top_msg_id:int = InputNotifyPeer;
+
+notifyForumTopic#226e6308 peer:Peer top_msg_id:int = NotifyPeer;
+
+inputStickerSetEmojiDefaultTopicIcons#44c1f8e9 = InputStickerSet;
+
+---functions---
+
+
+channels.createForumTopic#f40c0224 flags:# channel:InputChannel title:string icon_color:flags.0?int icon_emoji_id:flags.3?long random_id:long send_as:flags.2?InputPeer = Updates;
+channels.getForumTopics#0de560d1 flags:# channel:InputChannel q:flags.0?string offset_date:int offset_id:int offset_topic:int limit:int = messages.ForumTopics;
+channels.getForumTopicsByID#b0831eb9 channel:InputChannel topics:Vector<int> = messages.ForumTopics;
+channels.editForumTopic#f4dfa185 flags:# channel:InputChannel topic_id:int title:flags.0?string icon_emoji_id:flags.1?long closed:flags.2?Bool hidden:flags.3?Bool = Updates;
+
+channels.reorderPinnedForumTopics#2950a18f flags:# force:flags.0?true channel:InputChannel order:Vector<int> = Updates;
+channels.updatePinnedForumTopic#6c2d9026 channel:InputChannel topic_id:int pinned:Bool = Updates;
+
+channels.deleteTopicHistory#34435f2d channel:InputChannel top_msg_id:int = messages.AffectedHistory;
+

Forums ha

@@ -109,8 +164,11 @@
- - + + + diff --git a/data/web/corefork.telegram.org/api/recent-actions.html b/data/web/corefork.telegram.org/api/recent-actions.html index a0543adb61..19e87a2506 100644 --- a/data/web/corefork.telegram.org/api/recent-actions.html +++ b/data/web/corefork.telegram.org/api/recent-actions.html @@ -81,6 +81,13 @@ channelAdminLogEventActionToggleNoForwards#cb2ac766 new_value:Bool = ChannelAdminLogEventAction; channelAdminLogEventActionSendMessage#278f2868 message:Message = ChannelAdminLogEventAction; channelAdminLogEventActionChangeAvailableReactions#be4e0ef8 prev_value:ChatReactions new_value:ChatReactions = ChannelAdminLogEventAction; +channelAdminLogEventActionChangeUsernames#f04fb3a9 prev_value:Vector<string> new_value:Vector<string> = ChannelAdminLogEventAction; +channelAdminLogEventActionToggleForum#2cc6383 new_value:Bool = ChannelAdminLogEventAction; +channelAdminLogEventActionCreateTopic#58707d28 topic:ForumTopic = ChannelAdminLogEventAction; +channelAdminLogEventActionEditTopic#f06fe208 prev_topic:ForumTopic new_topic:ForumTopic = ChannelAdminLogEventAction; +channelAdminLogEventActionDeleteTopic#ae168909 topic:ForumTopic = ChannelAdminLogEventAction; +channelAdminLogEventActionPinTopic#5d8d353b flags:# prev_topic:flags.0?ForumTopic new_topic:flags.1?ForumTopic = ChannelAdminLogEventAction; +channelAdminLogEventActionToggleAntiSpam#64f36dfc new_value:Bool = ChannelAdminLogEventAction; channelAdminLogEvent#1fad68cd id:long date:int user_id:long action:ChannelAdminLogEventAction = ChannelAdminLogEvent; diff --git a/data/web/corefork.telegram.org/api/themes.html b/data/web/corefork.telegram.org/api/themes.html index 80d468f04f..f6b3179170 100644 --- a/data/web/corefork.telegram.org/api/themes.html +++ b/data/web/corefork.telegram.org/api/themes.html @@ -105,7 +105,7 @@ The resulting document should be used when creatingaccount.getTheme#3a5869ec format:string theme:InputTheme = Theme; account.getThemes#7206e458 format:string hash:long = account.Themes;

Once you've created your theme or received a theme deep link, it can be installed as follows.

-

First of all, to get info about a theme from a theme deep link use account.getTheme with inputThemeSlug and document_id=0.

+

First of all, to get info about a theme from a theme deep link use account.getTheme with inputThemeSlug.

The API keeps a list of theme that the user can apply.
To fetch the list use account.getThemes.
To save a theme to the list use account.saveTheme with unsave=false.
diff --git a/data/web/corefork.telegram.org/constructor/chatAdminRights.html b/data/web/corefork.telegram.org/constructor/chatAdminRights.html index 9768803e02..4733bbfa23 100644 --- a/data/web/corefork.telegram.org/constructor/chatAdminRights.html +++ b/data/web/corefork.telegram.org/constructor/chatAdminRights.html @@ -129,7 +129,7 @@ manage_topics flags.13?true -  +If set, allows the admin to create, delete or modify forum topics ». @@ -141,7 +141,9 @@

Admin log

Both supergroups and channels offer a so-called admin log, a log of recent relevant supergroup and channel actions, like the modification of group/channel settings or information on behalf of an admin, user kicks and bans, and more.

Channel statistics

-

Telegram offers detailed channel statistics for channels and supergroups.

+

Telegram offers detailed channel statistics for channels and supergroups.

+

Forums

+

Telegram allows creating forums with multiple distinct topics.

diff --git a/data/web/corefork.telegram.org/constructor/chatBannedRights.html b/data/web/corefork.telegram.org/constructor/chatBannedRights.html index 128bc042c7..658701c144 100644 --- a/data/web/corefork.telegram.org/constructor/chatBannedRights.html +++ b/data/web/corefork.telegram.org/constructor/chatBannedRights.html @@ -104,7 +104,7 @@ send_inline flags.6?true -If set, does not allow a user to use inline bots in a supergroup/chat +If set, does not allow a user to use inline bots in a supergroup/chat. embed_links @@ -134,42 +134,42 @@ manage_topics flags.18?true -  +If set, does not allow any user to create, delete or modify forum topics ». send_photos flags.19?true -  +If set, does not allow a user to send photos in a supergroup/chat. send_videos flags.20?true -  +If set, does not allow a user to send videos in a supergroup/chat. send_roundvideos flags.21?true -  +If set, does not allow a user to send round videos in a supergroup/chat. send_audios flags.22?true -  +If set, does not allow a user to send audio files in a supergroup/chat. send_voices flags.23?true -  +If set, does not allow a user to send voice messages in a supergroup/chat. send_docs flags.24?true -  +If set, does not allow a user to send documents in a supergroup/chat. send_plain flags.25?true -  +If set, does not allow a user to send text messages in a supergroup/chat. until_date @@ -182,7 +182,9 @@

ChatBannedRights

Related pages

Channels, supergroups, gigagroups and basic groups

-

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.

+

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.

+

Forums

+

Telegram allows creating forums with multiple distinct topics.

diff --git a/data/web/corefork.telegram.org/constructor/messageReplyHeader.html b/data/web/corefork.telegram.org/constructor/messageReplyHeader.html index 97ab72f3fe..0698e8b566 100644 --- a/data/web/corefork.telegram.org/constructor/messageReplyHeader.html +++ b/data/web/corefork.telegram.org/constructor/messageReplyHeader.html @@ -79,7 +79,7 @@ forum_topic flags.3?true -  +Whether this message was sent in a forum topic reply_to_msg_id @@ -101,6 +101,8 @@

Type

MessageReplyHeader

Related pages

+

Forums

+

Telegram allows creating forums with multiple distinct topics.

Threads

Telegram allows commenting on a channel post or on a generic supergroup message, thanks to message threads.

diff --git a/data/web/corefork.telegram.org/method/channels.createChannel b/data/web/corefork.telegram.org/method/channels.createChannel index b8d79b1555..23130cbee2 100644 --- a/data/web/corefork.telegram.org/method/channels.createChannel +++ b/data/web/corefork.telegram.org/method/channels.createChannel @@ -170,6 +170,8 @@

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.

messages.initHistoryImport

Import chat history from a foreign chat app into a specific Telegram chat, click here for more info about imported chats ».

+

Forums

+

Telegram allows creating forums with multiple distinct topics.

messages.setDefaultHistoryTTL

diff --git a/data/web/corefork.telegram.org/method/channels.createForumTopic b/data/web/corefork.telegram.org/method/channels.createForumTopic index 858f7767f4..e6eecccbfd 100644 --- a/data/web/corefork.telegram.org/method/channels.createForumTopic +++ b/data/web/corefork.telegram.org/method/channels.createForumTopic @@ -132,6 +132,8 @@

Bots can use this method

Related pages

+

Forums

+

Telegram allows creating forums with multiple distinct topics.

Custom emojis

Telegram allows including animated and static custom emojis inside of messages.

Telegram Premium

diff --git a/data/web/corefork.telegram.org/method/channels.deleteTopicHistory b/data/web/corefork.telegram.org/method/channels.deleteTopicHistory index 5f130ebbf7..e1fdde569c 100644 --- a/data/web/corefork.telegram.org/method/channels.deleteTopicHistory +++ b/data/web/corefork.telegram.org/method/channels.deleteTopicHistory @@ -82,7 +82,10 @@

Result

messages.AffectedHistory

-

Bots can use this method

+

Bots can use this method

+

Related pages

+

Forums

+

Telegram allows creating forums with multiple distinct topics.

diff --git a/data/web/corefork.telegram.org/method/channels.getForumTopics b/data/web/corefork.telegram.org/method/channels.getForumTopics index 7ea251e826..d02cfdb0ce 100644 --- a/data/web/corefork.telegram.org/method/channels.getForumTopics +++ b/data/web/corefork.telegram.org/method/channels.getForumTopics @@ -132,7 +132,9 @@

Bots can use this method

Related pages

Pagination in the API

-

How to fetch results from large lists of objects.

+

How to fetch results from large lists of objects.

+

Forums

+

Telegram allows creating forums with multiple distinct topics.

diff --git a/data/web/corefork.telegram.org/method/channels.reorderPinnedForumTopics b/data/web/corefork.telegram.org/method/channels.reorderPinnedForumTopics index 496887125c..ff31f7ff3d 100644 --- a/data/web/corefork.telegram.org/method/channels.reorderPinnedForumTopics +++ b/data/web/corefork.telegram.org/method/channels.reorderPinnedForumTopics @@ -98,7 +98,10 @@

Result

Updates

-

Bots can use this method

+

Bots can use this method

+

Related pages

+

Forums

+

Telegram allows creating forums with multiple distinct topics.

diff --git a/data/web/corefork.telegram.org/method/channels.toggleForum b/data/web/corefork.telegram.org/method/channels.toggleForum index 3bf5041588..285b8e3e7b 100644 --- a/data/web/corefork.telegram.org/method/channels.toggleForum +++ b/data/web/corefork.telegram.org/method/channels.toggleForum @@ -105,7 +105,10 @@ -

Bots can use this method

+

Bots can use this method

+

Related pages

+

Forums

+

Telegram allows creating forums with multiple distinct topics.

diff --git a/data/web/corefork.telegram.org/method/channels.updatePinnedForumTopic b/data/web/corefork.telegram.org/method/channels.updatePinnedForumTopic index b8f4ed9426..81a3412eaf 100644 --- a/data/web/corefork.telegram.org/method/channels.updatePinnedForumTopic +++ b/data/web/corefork.telegram.org/method/channels.updatePinnedForumTopic @@ -93,7 +93,10 @@

Result

Updates

-

Bots can use this method

+

Bots can use this method

+

Related pages

+

Forums

+

Telegram allows creating forums with multiple distinct topics.