Muting users with Cosmobot
You can mute users by replying to a message in the group chat with the mute command - #mute or #m. This will mute the message sender for the default period of 1 hour.
To specify custom mute duration use m for minutes, h for hours, d for days, w for weeks, y for years. For instance, to mute somebody for 2 hours, reply to their message with #mute2h or #m2h
#mute2h
The mute command will be auto-removed from the chat. The mute results will be posted in the chat. If it's not desired - you can use the silent mute #smute or #sm instead.
#smute3d
To undo a mute, you can either delete the "exception" in the group’s Telegram permissions screen, or send a shorter mute command to override the previous mute, like #m1m (mute 1 minute).
Examples
Mute a user for 7 days: reply to their message with
#mute7d
Mute a user for 2 weeks: reply to their message with
#mute2w
Mute a user for 4 hours: reply to their message with
#mute4h
Mute a user for 30 minutes: reply to their message with
#mute30m