Skip to content

Locks Commands

Admin only: × /lock <permission>: Lock Chat permission.. × /unlock <permission>: Unlock Chat permission. × /locks: View Chat permission. × /locktypes: Check available lock types!

Locks can be used to restrict a group’s users. Locking URLs will auto-delete all messages with URLs, locking stickers will delete all stickers, etc. Locking bots will stop non-admins from adding bots to the chat.

Example: /lock media: this locks all the media messages in the chat.

This module can be accessed using the following aliases:

  • lock
  • unlock
CommandDescriptionDisableable
/lockLock Chat permission..
/locksView Chat permission.
/locktypesCheck available lock types!
/unlockUnlock Chat permission.
/lock
/locks
/locktypes

For detailed command usage, refer to the commands table above.

Most commands in this module require admin permissions in the group.

Bot Permissions Required:

  • Delete messages
  • Ban users
  • Restrict users
  • Pin messages (if applicable)