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