How can i make a message voice in chat view?

I already create the part to record the audio, but I want to put that audio in a chat view, and when I click on the audio it starts playing.

Can somebody help me, please?

1 Like

You can use this block:
image
Set the thumbnail to a voice message image :wink:

You probably can use this block to detect that a message has been clicked:


Make a simple if condition, if with file then set the player component source ( you can change it to the exoplayer, or any extension ).

When I put the add file message and download the app to test, it doesn’t show the chat view.
blocks

Try to add any text to the message parameter.

IT worked, but how can I save that message ?

You can follow those steps ( exactly, those which are related with the database):

1 Like