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