toJson method

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

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
      'business_connection_id': businessConnectionId,
      'chat_id': chatId,
      'reply_to': replyTo?.toJson(),
      'disable_notification': disableNotification,
      'protect_content': protectContent,
      'effect_id': effectId.toString(),
      'reply_markup': replyMarkup?.toJson(),
      'input_message_content': inputMessageContent.toJson(),
      '@type': constructor,
    };