I want to give user the ability to delete messages.
In the code I am deleting a message using : message.remove();
and the message gets delete all fine.
Now I want to show users in the chat that a message was deleted at that particular place (like in whatsapp). But channel.getMessages()
gives only non-deleted messages.
Is there a way to get deleted messages from twilio?
If not possible, I am thinking to update the message when user wants to delete (deleting only the message body). Please suggest if this is the best solution.