You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,7 +124,7 @@ client commands route through when present).
124
124
|`tg chat invite list <ref>`| List invite links. `--revoked`, `--admin <user>`, `--limit`. |
125
125
|`tg chat invite revoke <ref> <link>` / `delete <ref> <link>`| Revoke a link, or delete a revoked one. |
126
126
|`tg chat ban <ref> <user>` / `tg chat unban <ref> <user>`| Ban (remove + block) or unban a member. Ban prompts unless `--yes`. |
127
-
|`tg chat admin promote <ref> <user>` / `tg chat admin demote <ref> <user>`| Grant or revoke admin rights. Promote takes `--title <rank>`(custom admin title, ≤16 chars); omit `--title` to keep the current title, pass `--title ""` to clear it. |
127
+
|`tg chat admin promote <ref> <user>` / `tg chat admin demote <ref> <user>`| Grant or revoke admin rights. `--rights <keywords>` grants a specific set (`info,post,edit,delete,ban,invite,pin,add_admins,anonymous,call,topics,post_stories,edit_stories,delete_stories`); omit `--rights` for a broad default set. `--title <rank>`sets a custom admin title (≤16 chars); omit `--title` to keep the current title, pass `--title ""` to clear it. |
128
128
|`tg chat member set-perms <ref> <user>`| Set a member's permissions with `--deny`/`--allow` keywords (`send,media,stickers,bots,polls,links,invite,pin,info,topics`) and optional `--until <RFC3339\|dur>` (default permanent). |
129
129
|`tg chat member unset-perms <ref> <user>`| Clear all permission restrictions on a member. |
130
130
|`tg chat perms <ref>`| Set the group's default member permissions with `--deny`/`--allow` (same keywords). |
0 commit comments