Babysitter mode prevents people from speaking in a group, deleting all messages posted by users (but not administrators). It must be activated from settings.
For this option to work, the bot must have the administration permissions in Telegram to delete messages.
When a user speaks, the bot will delete their message and put a warning in its place that will last a few seconds. The content of the announcement cannot be personalized, but you can add a link to a group in which you can speak. To configure that link, you must use the
/talkgroup command. For example:
/talkgroup @PGSDC /talkgroup https://t.me/joinchat/XXs3XkzYsXXxnvbtxxe11x
To remove the link, you can pass a horizontal bar as argument, that is: