InputMessageForwarded.fromJson constructor
Parses a InputMessageForwarded from TDLib JSON.
Implementation
factory InputMessageForwarded.fromJson(Map<String, dynamic> json) =>
InputMessageForwarded(
fromChatId: _readInt(json['from_chat_id']),
messageId: _readInt(json['message_id']),
inGameShare: _readBool(json['in_game_share']),
replaceVideoStartTimestamp: _readBool(
json['replace_video_start_timestamp'],
),
newVideoStartTimestamp: _readInt(json['new_video_start_timestamp']),
copyOptions: _readOptional(
json['copy_options'],
MessageCopyOptions.fromJson,
),
);