ookamiiixd / baileys-api

Simple WhatsApp REST API with multiple device support
MIT License
431 stars 327 forks source link

Add a column to Message table #133

Closed kampit closed 1 year ago

kampit commented 1 year ago

Is it possible for me to add a column to the Message table

For example, I added a batchId column to the Message table

Example:

{
  "jid": "62xxxx@s.whatsapp.net",
  "type": "number",
  "message": {
    "text": "Hello!"
  },
  "options": {
    "batchId": "123"
  }
}

So on the batchId column I can store the value 123.

Juts for reference column. Data will not send to WA. How to do that?

ookamiiixd commented 1 year ago

It's possible, but you need to extend the baileys-store library yourself