toJson method
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,
};
}