InviteLinkChatType.fromJson constructor
Parses whichever InviteLinkChatType subtype the JSON describes.
Implementation
factory InviteLinkChatType.fromJson(Map<String, dynamic> json) {
final object = tdObjectFactories[json['@type']]?.call(json);
return object is InviteLinkChatType
? object
: UndecodedInviteLinkChatType(json);
}