feat: add customer online status to conversation response and update UI accordingly

This commit is contained in:
mlogclub
2026-04-14 20:28:48 +08:00
parent 2d5f229828
commit 12fd382abb
6 changed files with 40 additions and 3 deletions
@@ -41,6 +41,7 @@ type ConversationResponse struct {
AgentLastReadMessageID int64 `json:"agentLastReadMessageId"`
AgentLastReadSeqNo int64 `json:"agentLastReadSeqNo"`
AgentLastReadAt string `json:"agentLastReadAt,omitempty"`
CustomerOnline bool `json:"customerOnline"`
ClosedAt string `json:"closedAt,omitempty"`
ClosedBy int64 `json:"closedBy"`
ClosedByName string `json:"closedByName,omitempty"`