MessageSendOptions.fromJson constructor
Parse from a json
Implementation
factory MessageSendOptions.fromJson(Map<String, dynamic> json) =>
MessageSendOptions(
disableNotification: json['disable_notification'],
fromBackground: json['from_background'],
protectContent: json['protect_content'],
updateOrderOfInstalledStickerSets:
json['update_order_of_installed_sticker_sets'],
schedulingState: json['scheduling_state'] == null
? null
: MessageSchedulingState.fromJson(json['scheduling_state']),
sendingId: json['sending_id'],
);