Skip to content

Parameter IGNORE_CHATS

The parameter sets a runtime list of chats whose messages should be ignored. You can specify USER_ID or CHAT_ID for groups or channels.

The list is managed not only through the setup bot, but also via commands in dialog topics:

  • /ignore and /unignore — for any chat type (private chats, groups, supergroups, channels, topics): hide the dialog from incoming messages without fully blocking the sender.
  • /ban and /unban — only for connected bots: the command adds the user_id of the corresponding private dialog to IGNORE_CHATS, and unban removes it.

By default, the list is not empty and contains the USER_ID of the official Telegram account and Hotline service account.

Data Format

Multiple values must be separated by commas.

To clear the list, send the . (dot) symbol

The setup bot needs to be sent the required value after selecting the parameter for editing.

Default Value

777000, SERVICE_USER_ID 

Usage Examples

  • 123456789, 777000, SERVICE_USER_ID = do not forward messages from the specified chats to the working topic group.