ChatAdministratorRights constructor

ChatAdministratorRights(
  1. {required bool can_manage_chat,
  2. required bool can_change_info,
  3. required bool can_post_messages,
  4. required bool can_edit_messages,
  5. required bool can_delete_messages,
  6. required bool can_invite_users,
  7. required bool can_restrict_members,
  8. required bool can_pin_messages,
  9. required bool can_manage_topics,
  10. required bool can_promote_members,
  11. required bool can_manage_video_chats,
  12. required bool can_post_stories,
  13. required bool can_edit_stories,
  14. required bool can_delete_stories,
  15. required bool is_anonymous,
  16. int? extra,
  17. int? clientId}
)

Describes rights of the administrator

Implementation

ChatAdministratorRights