ChatActionBarReportAddBlock class

The chat is a private or secret chat, which can be reported using the method reportChat, or the other user can be blocked using the method setMessageSenderBlockList,.

Inheritance
Available Extensions

Constructors

ChatActionBarReportAddBlock({required bool can_unarchive, required int distance, int? extra, int? clientId})
The chat is a private or secret chat, which can be reported using the method reportChat, or the other user can be blocked using the method setMessageSenderBlockList,

Properties

can_unarchive bool
If true, the chat was automatically archived and can be moved back to the main chat list using addChatToList simultaneously with setting chat notification settings to default using setChatNotificationSettings.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
distance int
If non-negative, the current user was found by the peer through searchChatsNearby and this is the distance between the users.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
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) ChatActionBarReportAddBlock?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"chatActionBarReportAddBlock"