diff --git a/data/web/corefork.telegram.org.html b/data/web/corefork.telegram.org.html index 23ef85899a..d67bcea4bf 100644 --- a/data/web/corefork.telegram.org.html +++ b/data/web/corefork.telegram.org.html @@ -203,6 +203,8 @@ This allows the server to filter messages based on a text query, and even on the
How to transcribe voice messages.
Telegram allows translating chat messages, and Telegram Premium users may even enable real-time chat translation.
+Admins of supergroups with a certain number of members can choose to unleash the full proactive power of Telegram's own antispam algorithms – turning on the new Aggressive mode for the automated spam filters.
When interacting with HTML5 games and the websites of payment gateways, Telegram apps should expose the following JS APIs.
diff --git a/data/web/corefork.telegram.org/api.html b/data/web/corefork.telegram.org/api.html index 23ef85899a..d67bcea4bf 100644 --- a/data/web/corefork.telegram.org/api.html +++ b/data/web/corefork.telegram.org/api.html @@ -203,6 +203,8 @@ This allows the server to filter messages based on a text query, and even on theHow to transcribe voice messages.
Telegram allows translating chat messages, and Telegram Premium users may even enable real-time chat translation.
+Admins of supergroups with a certain number of members can choose to unleash the full proactive power of Telegram's own antispam algorithms – turning on the new Aggressive mode for the automated spam filters.
When interacting with HTML5 games and the websites of payment gateways, Telegram apps should expose the following JS APIs.
diff --git a/data/web/corefork.telegram.org/api/antispam.html b/data/web/corefork.telegram.org/api/antispam.html index 3c174d560a..3ceb8875dc 100644 --- a/data/web/corefork.telegram.org/api/antispam.html +++ b/data/web/corefork.telegram.org/api/antispam.html @@ -2,12 +2,12 @@ -Admins of supergroups with a certain number of members can choose to unleash the full proactive power of Telegram's own antispam algorithms – turning on the new Aggressive mode for the automated spam filters.
+Schema:
+channelFull#f2355507 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector<string> groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector<long> default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions = ChatFull;
+
+channelAdminLogEventActionToggleAntiSpam#64f36dfc new_value:Bool = ChannelAdminLogEventAction;
+channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction;
+
+---functions---
+
+channels.toggleAntiSpam#68f3e4eb channel:InputChannel enabled:Bool = Updates;
+channels.reportAntiSpamFalsePositive#a850a693 channel:InputChannel msg_id:int = Bool;
+Native antispam functionality can be enabled for supergroups using channels.toggleAntiSpam, if the supergroup has at least telegram_antispam_group_size_min
members, as specified by the client configuration parameters.
Once enabled, Telegram's native antispam system will start monitoring the supergrup, automatically deleting spam messages using the official Telegram Antispam bot, with ID equal to telegram_antispam_user_id
, as specified by the client configuration parameters.
+Note that this bot does not have to be added as participant or admin to the supergroup for the native antispam system to work, just invoking channels.toggleAntiSpam is enough; however, it should still be locally shown as a group admin when displaying the admin list to the user (clients should simply append it to the admin list without invoking channels.editAdmin).
False positive message deletions can be reported by admins by navigating through the admin log, and invoking channels.reportAntiSpamFalsePositive for mistaken channelAdminLogEventActionDeleteMessage events made by the telegram_antispam_user_id
bot.
forum_upgrade_participants_min
topics_pinned_limit
telegram_antispam_user_id
The ID of the official native antispam bot, that will automatically delete spam messages if enabled as specified in the native antispam documentation ».
+When fetching the admin list of a supergroup using channels.getParticipants, if native antispam functionality in the specified supergroup, the bot should be manually added to the admin list displayed to the user.
telegram_antispam_group_size_min
Minimum number of members required to enable native antispam functionality.
fragment_prefixes
hidden_members_group_size_min
ios_disable_parallel_channel_reset
/
in the chat with your bot. See commands for more info.Or you can use the /mybots
command, tap on your bot and use the modern inline interface to edit it.
Admins of supergroups with a certain number of members can choose to unleash the full proactive power of Telegram's own antispam algorithms – turning on the new Aggressive mode for the automated spam filters.
diff --git a/data/web/corefork.telegram.org/constructor/channelFull.html b/data/web/corefork.telegram.org/constructor/channelFull.html index fa671c425c..dff149a540 100644 --- a/data/web/corefork.telegram.org/constructor/channelFull.html +++ b/data/web/corefork.telegram.org/constructor/channelFull.html @@ -322,6 +322,8 @@Telegram offers detailed channel statistics for channels and supergroups.
Groups can be associated to a channel as a discussion group, to allow users to discuss about posts.
+Admins of supergroups with a certain number of members can choose to unleash the full proactive power of Telegram's own antispam algorithms – turning on the new Aggressive mode for the automated spam filters.
Telegram allows translating chat messages: Telegram Premium users may even enable real-time chat translation.
Admins of supergroups with a certain number of members can choose to unleash the full proactive power of Telegram's own antispam algorithms – turning on the new Aggressive mode for the automated spam filters.
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.
diff --git a/data/web/corefork.telegram.org/method/channels.toggleAntiSpam b/data/web/corefork.telegram.org/method/channels.toggleAntiSpam index d0081fc340..242018afee 100644 --- a/data/web/corefork.telegram.org/method/channels.toggleAntiSpam +++ b/data/web/corefork.telegram.org/method/channels.toggleAntiSpam @@ -77,7 +77,7 @@telegram_antispam_group_size_min
members to enable antispam functionality, as specified by the client configuration parameters.The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.
+Admins of supergroups with a certain number of members can choose to unleash the full proactive power of Telegram's own antispam algorithms – turning on the new Aggressive mode for the automated spam filters.
diff --git a/data/web/corefork.telegram.org/mtproto.html b/data/web/corefork.telegram.org/mtproto.html index 63515d5cf3..457109e5ba 100644 --- a/data/web/corefork.telegram.org/mtproto.html +++ b/data/web/corefork.telegram.org/mtproto.html @@ -164,7 +164,7 @@ Multiple transport protocols are defined:To recap, using the ISO/OSI stack as comparison:
Contains information about a bot web app
+Contains information about a bot web app