fromMap static method
override
Construct from Map.
Implementation
static MessageForwardOriginChat? 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 sender_chat_id = _map['sender_chat_id']! as int;
var author_signature = _map['author_signature']! as String;
return MessageForwardOriginChat(
extra: extra,
clientId: clientId,
sender_chat_id: sender_chat_id,
author_signature: author_signature,
);
}