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