Expand my Community achievements bar.

SOLVED

Erase one message from chat

Avatar

Level 1

Hi, Im starting with AFCS, and I am wondering if the is any way to erase a single message of a chat room using SimpleChatModel.

Thanks!

Julio

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Julio,

Currently there are no api's that would allow you to do erase message's selectively. This a feature that I would like too.

But if its just one time, you can delete them using dev console.(that comes with SDKNavigator App). The work around would be to extend SimpleChatModel and add methods to remove the message item from collection node of the model.

Also if you are trying to implement a filter, you can always listen to the message you recieved, and not display it.

Thanks

Arun

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

Hi Julio,

Currently there are no api's that would allow you to do erase message's selectively. This a feature that I would like too.

But if its just one time, you can delete them using dev console.(that comes with SDKNavigator App). The work around would be to extend SimpleChatModel and add methods to remove the message item from collection node of the model.

Also if you are trying to implement a filter, you can always listen to the message you recieved, and not display it.

Thanks

Arun

Avatar

Former Community Member

Hi julio_ps,

If you want to monitor and moderate chat rooms, we are developing a new feature called "sever to server" api where you can insert your logic on a remote server and control the content of the chat room.  This is due to come out in April. 

Dean