fromMap static method
override
Construct from Map.
Implementation
static BlockMessageSenderFromReplies? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
if (_ != CONSTRUCTOR) return null;
var extra = _map['@extra'];
var clientId = _map['@clientId'];
var message_id = _map['message_id']! as int;
var delete_message = _map['delete_message']! as bool;
var delete_all_messages = _map['delete_all_messages']! as bool;
var report_spam = _map['report_spam']! as bool;
return BlockMessageSenderFromReplies(
extra: extra,
clientId: clientId,
message_id: message_id,
delete_message: delete_message,
delete_all_messages: delete_all_messages,
report_spam: report_spam,
);
}