toJson method

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

Implementation

@override
Map<String, dynamic> toJson([dynamic extra]) {
  return {
    "@type": CONSTRUCTOR,
    "message_id": messageId,
    "delete_message": deleteMessage,
    "delete_all_messages": deleteAllMessages,
    "report_spam": reportSpam,
    "@extra": extra,
  };
}