ChatMemberStatusRestricted class

The user is under certain restrictions in the chat. Not supported in basic groups and channels.

Inheritance
Available Extensions

Constructors

ChatMemberStatusRestricted({required bool is_member, required int restricted_until_date, required ChatPermissions permissions, int? extra, int? clientId})
The user is under certain restrictions in the chat. Not supported in basic groups and channels

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
is_member bool
True, if the user is a member of the chat.
read / write
permissions ChatPermissions
User permissions in the chat.
read / write
restricted_until_date int
Point in time (Unix timestamp) when restrictions will be lifted from the user; 0 if never. If the user is restricted for more than 366 days or for less than 30 seconds from the current time, the user is considered to be restricted forever.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) ChatMemberStatusRestricted?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"chatMemberStatusRestricted"