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