Protection
Locks
Block links, stickers, photos, forwards and other message types for normal members with Lisa locks.
A lock deletes a certain kind of message when a normal member sends it. Admins and trusted users are never affected.
Commands
| Command | What it does |
|---|---|
/locktypes | Shows every lock type and what it blocks (tap a button to learn more) |
/locks | Shows what is locked right now |
/lock <type> | Locks a type |
/unlock <type> | Unlocks a type |
/lock all | Locks everything for normal members |
/unlock all | Removes all locks |
You need the Change group info right, and the bot needs the Delete messages right.
Admin
/lock url
Lisa
Locked
url for non-admins.From now on, any message with a link from a normal member is deleted.
Lock types
| Type | Blocks |
|---|---|
url | Links (http, t.me and hidden text links) |
mention | @username mentions of people (@admin still works) |
sticker | Stickers, including animated ones |
photo | Photos |
video | Videos |
video_note | Round video messages |
animation | GIFs |
audio | Music and audio files |
voice | Voice messages |
document | Files such as zip, pdf, apk |
contact | Shared contacts |
location | Shared locations and places |
poll | Polls and quizzes |
game | Games |
forward | Forwarded messages |
inline | Messages sent through other bots (using @botname) |
Good to know
- Edited messages are checked too. Sending a clean message and editing in a link does not work.
- Use
/authfor a member who should be allowed everything. /lock allis strong: normal members cannot send anything. Use/unlock allto undo it.