InputMessageForwarded.fromJson constructor

InputMessageForwarded.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory InputMessageForwarded.fromJson(Map<String, dynamic> json) =>
    InputMessageForwarded(
      fromChatId: json['from_chat_id'],
      messageId: json['message_id'],
      inGameShare: json['in_game_share'],
      copyOptions: json['copy_options'] == null
          ? null
          : MessageCopyOptions.fromJson(json['copy_options']),
    );