toJson method

  1. @override
Map<String, dynamic> toJson()
override

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'inputMessageForwarded',
    if (extra != null) '@extra': extra,
    'from_chat_id': from_chat_id,
    'message_id': message_id,
    'in_game_share': in_game_share,
    'copy_options': copy_options
  };
}