Closed ali4zimi closed 2 years ago
Dear @musonza, the old 'forked repository' has been deleted accidentally, and I couldn't push to the old PR anymore. Therefore, I re-forked your project and committed my changes please review them and also test them for errors. However, I have tested it in my application which works perfectly. Thanks to Max(@dh1) which mentioned it to me about it.
This closes #281
Sometimes you might want to add details about a message. For example, when the message type is an attachment, and you want to add details such as the attachment's filename, and attachment's file URL, you can call the 'data()' function and pass your data as JSON. A column 'data' in the message table was also created to store this data.