Up until now, when users interacted with agents, the messages were stored in the DB as a stream of messages.
There is no concept of a chat thread or group chat in Gendox. The management of messages into chats was offloaded to Discord which is the main Chat Integration until now.
This ticket is to describe the functionality of chat threads. A Chat Thread is the logical entity that groups the messages together and defines who can see these messages (Chat Thread Members).
At this stage, the members of the thread will be only the User that sent the message and the Agent that responds.
This requires:
Add new tables for threads and thread members to the database
migrate the existing messages to be linked with corresponding threads
Description
Up until now, when users interacted with agents, the messages were stored in the DB as a stream of messages. There is no concept of a chat thread or group chat in Gendox. The management of messages into chats was offloaded to Discord which is the main Chat Integration until now.
This ticket is to describe the functionality of chat threads. A Chat Thread is the logical entity that groups the messages together and defines who can see these messages (Chat Thread Members). At this stage, the members of the thread will be only the User that sent the message and the Agent that responds.
This requires: