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
ref(contact): Rename report --ban to --block for naming consistency
The flag invokes contacts.block, not channels.editBanned, so call it --block.
This keeps the terminology unambiguous: "ban" is group/channel scope
(chat ban/unban), "block" is account scope (contact block/unblock, report
--block). Also reword the chat ban help so "block" isn't used for a group ban.
|`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
-
|`tg chat ban <ref> <user>` / `tg chat unban <ref> <user>`| Ban (remove + block) or unban a member. Ban prompts unless `--yes`. |
126
+
|`tg chat ban <ref> <user>` / `tg chat unban <ref> <user>`| Ban (remove + restrict) or unban a member of a group/channel. Ban prompts unless `--yes`. |
127
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. |
@@ -159,7 +159,7 @@ client commands route through when present).
159
159
|`tg contact delete <ref>`| Delete a contact. |
160
160
|`tg contact block <ref>`| Block a user, bot, or channel. |
161
161
|`tg contact unblock <ref>`| Unblock a user, bot, or channel. |
0 commit comments