-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Hi, many thanks for the library, it's great!
I am having an issue when I need to do other actions rather than adding a message in ChatService. In particular, I would like to have the chance to dispatch other events from the ChatService to the chat, such as a conversation id expired or others. I am storing the conversation id in the backend and validating it on each message. If it expires, I need to create a new one, and readd former messages to the new conversation. This requires that ChatService can somehow inform the chat that that a new conversation id must be requested and then a new conversation created, etc. before actually sending the message to the server.
I checked that you set other events, but I am not sure how can I use them and how can I listen to them, am I missing something? Thank you very much in advance!