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