mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-27 05:52:29 +08:00
26 lines
642 B
Go
26 lines
642 B
Go
package jssdk
|
|
|
|
import (
|
|
"github.com/openimsdk/protocol/conversation"
|
|
"github.com/openimsdk/protocol/sdkws"
|
|
)
|
|
|
|
type ActiveConversationsReq struct {
|
|
Count int `json:"count"`
|
|
}
|
|
|
|
type ConversationMsg struct {
|
|
Conversation *conversation.Conversation `json:"conversation"`
|
|
LastMsg *sdkws.MsgData `json:"lastMsg"`
|
|
User *sdkws.UserInfo
|
|
Friend *sdkws.FriendInfo
|
|
Group *sdkws.GroupInfo
|
|
MaxSeq int64 `json:"maxSeq"`
|
|
ReadSeq int64 `json:"readSeq"`
|
|
}
|
|
|
|
type ConversationsResp struct {
|
|
UnreadCount int64 `json:"unreadCount"`
|
|
Conversations []ConversationMsg `json:"conversations"`
|
|
}
|