aboutsummaryrefslogtreecommitdiffhomepage
path: root/td
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2026-07-10 14:17:22 +0300
committerlevlam <levlam@telegram.org>2026-07-10 14:17:22 +0300
commit006c7b684c815de95e223c9a23c71d704e99074a (patch)
tree5753bacfe5249349a77ab72e246e5f41b0a540e8 /td
parente620486b7f47030c5dffbbf43654fe797327f602 (diff)
Improve chatMemberStatusAdministrator docuemntation.
Diffstat (limited to 'td')
-rw-r--r--td/generate/scheme/td_api.tl7
1 files changed, 4 insertions, 3 deletions
diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl
index 886196af6..208a6dc3e 100644
--- a/td/generate/scheme/td_api.tl
+++ b/td/generate/scheme/td_api.tl
@@ -1080,7 +1080,7 @@ chatPermissions can_send_basic_messages:Bool can_send_audios:Bool can_send_docum
//@can_restrict_members True, if the administrator can restrict, ban, or unban chat members or view supergroup statistics
//@can_pin_messages True, if the administrator can pin messages; applicable to basic groups and supergroups only
//@can_manage_topics True, if the administrator can create, rename, close, reopen, hide, and unhide forum topics; applicable to forum supergroups only
-//@can_promote_members True, if the administrator can add new administrators with a subset of their own privileges or demote administrators that were directly or indirectly promoted by them
+//@can_promote_members True, if the administrator can add new administrators with a subset of their own privileges or demote administrators that were directly or indirectly promoted by them; applicable to supergroups and channels only
//@can_manage_video_chats True, if the administrator can manage video chats
//@can_post_stories True, if the administrator can create new chat stories, or edit and delete posted stories; applicable to supergroups and channels only
//@can_edit_stories True, if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access story archive; applicable to supergroups and channels only
@@ -2473,8 +2473,9 @@ chatAdministrators administrators:vector<chatAdministrator> = ChatAdministrators
//@is_member True, if the user is a member of the chat
chatMemberStatusCreator is_anonymous:Bool is_member:Bool = ChatMemberStatus;
-//@description The user is a member of the chat and has some additional privileges. In basic groups, administrators can edit and delete messages sent by others, add new members, ban unprivileged members, and manage video chats.
-//-In supergroups and channels, there are more detailed options for administrator privileges
+
+//@description The user is a member of the chat and has some additional privileges. In basic groups, administrators have all applicable rights.
+//-In supergroups and channels, any subset of the rights can be chosen for an administrator
//@can_be_edited True, if the current user can edit the administrator privileges for the called user
//@rights Rights of the administrator
chatMemberStatusAdministrator can_be_edited:Bool rights:chatAdministratorRights = ChatMemberStatus;