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