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