ChatAdministratorRights
Object Hierarchy:
Description:
public class ChatAdministratorRights :
Error
Describes rights of the administrator
Content:
Properties:
- public bool can_change_info { get; set construct; }
True, if the administrator can change the chat title, photo, and other
settings
- public bool can_delete_messages { get; set construct; }
True, if the administrator can delete messages of other users
- public bool can_delete_stories { get; set construct; }
True, if the administrator can delete stories posted by other users;
applicable to supergroups and channels only
- public bool can_edit_messages { get; set construct; }
True, if the administrator can edit messages of other users and pin
messages; applicable to channels only
- public bool can_edit_stories { get; set construct; }
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
- public bool can_invite_users { get; set construct; }
True, if the administrator can invite new users to the chat
- public bool can_manage_chat { get; set construct; }
True, if the administrator can access the chat event log, get boost
list, see hidden supergroup and channel members, report supergroup spam messages and ignore slow mode. Implied by any other privilege;
applicable to supergroups and channels only
- public bool can_manage_topics { get; set construct; }
True, if the administrator can create, rename,
Client.close reopen, hide, and unhide forum topics; applicable to forum
supergroups only
- public bool can_manage_video_chats { get; set construct; }
True, if the administrator can manage video chats
- public bool can_pin_messages { get; set construct; }
True, if the administrator can pin messages; applicable to basic
groups and supergroups only
- public bool can_post_messages { get; set construct; }
True, if the administrator can create channel posts or view channel
statistics; applicable to channels only
- public bool can_post_stories { get; set construct; }
True, if the administrator can create new chat stories, or edit and
delete posted stories; applicable to supergroups and channels only
- public bool can_promote_members { get; set construct; }
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
- public bool can_restrict_members { get; set construct; }
True, if the administrator can restrict, ban, or unban chat members or
view supergroup statistics; always true for channels
- public bool is_anonymous { get; set construct; }
True, if the administrator isn't shown in the chat member list and
sends messages anonymously; applicable to supergroups only
Creation methods:
- public ChatAdministratorRights (bool can_manage_chat, bool can_change_info, bool can_post_messages, bool can_edit_messages, bool can_delete_messages, bool can_invite_users, bool can_restrict_members, bool can_pin_messages, bool can_manage_topics, bool can_promote_members, bool can_manage_video_chats, bool can_post_stories, bool can_edit_stories, bool can_delete_stories, bool is_anonymous)
Inherited Members:
All known members inherited from class TDLib.Error
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref