Watchdog Robot deletes messages of blacklisted types: link, sticker, gif, voice attachment, file attachment and other. Also it can ban other bots.
Follow these steps:
@watchdog_robotas admin into your chatroom
/watchdog_block FILTER. See Filters section. Note that by default all filters are disabled i.e. watchdog does nothing.
List of filters which Watchdog Robot can work with. First word (colored) in each line is name of filter. Use this name in
link- message that contains a link
gif- animated GIF image
voice- voice recording
attachment- file attachment
audio- audio clip
photo- photo file
user_joined_msg- service message about user joined the chatroom
user_left_msg- service message about user left the chatroom
channel_mention- message that contains
group_mention- message that contains
@usernameof group (chat)
user_mention- message that contains
bot_mention- message that contains
video_message- video clip
command- bot command (it'll be processed by corresponding bot anyway, just the text of command will be removed)
char1- message that has length of one or zero chars, spaces are not counted as chars
forwarded- message forwarded from any other place
bot- if bot invited into chat it will be kicked by
bot_inviter- user who invited bot into chatroom will be kicked by
msg- any visible message from user, DOES NOT implies
bot_inviterrules. Using this filter just mute the chat. Check out also Hush Robot, it is designed specially for muting chat.
emoji- if message contains only emoji symbols (any number) it'll be removed
button- message that contains button of any kind. Commonly it is message posted via inline bot.
text- any text message (emoji is text too)
cryptohash- address of crypto wallet
For example, you want to block stickers and WWW links. Use two commands
/watchdog_block sticker and
/watchdog_block link. Also you can specify multiple filters in one command like
/watchdog_block FILTER- tell Watchdog Robot to remove messages match this filter. You can specify multiple filters delimited by comma.
/watchdog_allow FILTER- allow messages match this filter.
/watchdog_config- see Watchdog Robot configuration for the current chat
/watchdog_set notify_actions=yes- ask bot to display message about some message was removed
/watchdog_set notify_actions=no- tell bot to remove messages silently
/watchdog_check- check if bot is installed correctly.
/watchdog_reload_admins- ask bot to reload admin IDs for current chat. Admins list is collected once and cached. Use this command to update cached data.
All these commands have to be entered in chatroom where watchdog is installed. Do not send these commands in private messages to watchdog.
First, complete installation instructions. Then type into chat this command:
/watchdog_check. Fix any issues bot talkes about.
First, check you have told watchdog to do it with command
/watchdog_block bot. Second, check that you have given watchdog permission to ban other users.
If you need to block undesired content these bots could be helpful: @daysandbox_bot, @freqrobot, @grep_robot, @hushrobot, @joinhider_bot, @lang_blocker_bot, @noarab_bot, @nohello_robot, @nosticker_bot, @orgrobot, @tagchannelbot, @wikirobot.
You may ask question, send feedback or bugreport in these telegram groups: