Welcome! Log In Create A New Profile

Advanced

How to add attachment to the Live Messages example project?

Posted by jaistar 
How to add attachment to the Live Messages example project?
April 09, 2022 07:58AM
Hi... How can I add an attachment to the Live messages example project?... I want to implement the file attachment feature to the messenger.
your question implies that somebody knows by heart what this example does and how...

In other words, with a question like that, you have little chance to have an answer.

Anyway, to complete my previous answer on your other post...

To manage attachment, you create a second file in your DB for attachments, with a blob/binary memo field in it to store the attachment, and the ID of the message it is attached to.

Again, it couldn't be simpler
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: