chatMemberStatusBanned property

ChatMemberStatusBanned? chatMemberStatusBanned

The user or the chat was banned (and hence is not a member of the chat). Implies the user can't return to the chat, view messages, or be used as a participant identifier to join a video chat of the chat

Implementation

ChatMemberStatusBanned? get chatMemberStatusBanned {
  if (this is ChatMemberStatusBanned) {
    return this as ChatMemberStatusBanned;
  }
  return null;
}