chatMemberStatusAdministrator property
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.
Implementation
ChatMemberStatusAdministrator? get chatMemberStatusAdministrator {
if (this is ChatMemberStatusAdministrator) {
return this as ChatMemberStatusAdministrator;
}
return null;
}