Expand my Community achievements bar.

Clearing chat in custom AIR implementation

Avatar

Employee

Hello,

I’m hoping there is a better way to clear chat then using the “one at a time” Retract button in the Dev Console.

Please advise – Thanks.

2 Replies

Avatar

Former Community Member

Hi,

This is function called clear() in SimpleChatModel which clears the history. Calling it should clear your chat history and reset all the history nodes with empty content.

Thanks

Hironmay Basu

Avatar

Former Community Member

Hi meaman,

Sounds like a good request for the dev console as well - we'll add a "remove all" button there so you don't have to do it manually.

thanks for the feedback!

nigel