Who can do what
Understand the four kinds of people (members, admins, group owner, bot owner) and which Telegram admin rights each command needs.
Not everybody can use every command. The bot checks who you are before it does anything.
The kinds of people
| Who | What they can do |
|---|---|
| Member | Everyday commands: /help, /rules, /id, /report, /get and similar. |
| Admin | Moderation and settings, as long as the admin has the matching Telegram right (see below). |
| Group owner | Everything an admin can do, plus a few special actions such as /export, /restore, /setlog and /joinfed. |
| Bot owner | Runs the bot itself (for example maintenance and global bans). Normal users never need these commands. |
Admin rights needed
Telegram lets you give each admin different rights. The bot respects them. If you try a command without the right, the bot says "You need the admin right ... to do that".
| Telegram right | Commands it unlocks |
|---|---|
| Ban users | /ban, /unban, /kick, /mute, /tmute, /unmute, /warn, /unwarn, /resetwarns and their d and s versions |
| Delete messages | /del, /purge |
| Pin messages | /pin, /unpin |
| Add new admins | /promote, /demote, /title |
| Change group info | /settings, /setrules, /setwarnlimit, captcha commands, blacklist and filter commands, welcome commands, and most other settings |
Group owner only
Only the person who created the group can use:
/exportand/restore(copy settings)/setlogand/unsetlog(log channel)/joinfedand/leavefed(federations)/stopall(remove all filters)
Protected people
An admin cannot ban, mute, kick or warn the group owner, other admins, or the bot itself. The bot will say "That user is protected".
The bot also needs rights
Remember that the bot must have the matching permission too. If it does not, you will see a message like "I need these admin rights first". Fix this in the group's administrator settings. See Add the bot to your group.
Anonymous admins
If you send commands as an anonymous admin (the group name instead of your name), the bot cannot know who you are. It shows a Verify admin button. Press it once to prove you are an admin, and the command runs.