MessageCopyOptions.fromJson constructor
Parse from a json
Implementation
factory MessageCopyOptions.fromJson(Map<String, dynamic> json) =>
MessageCopyOptions(
sendCopy: json['send_copy'],
replaceCaption: json['replace_caption'],
newCaption: json['new_caption'] == null
? null
: FormattedText.fromJson(json['new_caption']),
);