GroupMembershipState enum

Inheritance

Constructors

GroupMembershipState()
const

Values

superadmin → const GroupMembershipState

There must at least be 1 superadmin in any group. The superadmin has all the privileges of the admin and can additionally delete the group and promote admin members.

admin → const GroupMembershipState

There can be one of more admins. Admins can update groups as well as accept, kick, promote, demote, ban or add members.

member → const GroupMembershipState

Regular group member. They cannot accept join requests from new users.

joinRequest → const GroupMembershipState

A new join request from a new user. This does not count towards the maximum group member count.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<GroupMembershipState>
A constant List of the values in this enum, in order of their declaration.