Files
open-im-server/pkg/cms_api_struct/message_cms.go
T

23 lines
543 B
Go
Raw Normal View History

2022-02-09 00:45:23 +08:00
package cms_api_struct
2022-08-26 17:51:01 +08:00
import (
pbCommon "Open_IM/pkg/proto/sdk_ws"
)
type GetChatLogsReq struct {
SessionType int `json:"sessionType"`
ContentType int `json:"contentType"`
Content string `json:"content"`
SendID string `json:"userID"`
RecvID string `json:"recvID"`
GroupID string `json:"groupID"`
SendTime string `json:"sendTime"`
2022-02-09 00:45:23 +08:00
RequestPagination
}
2022-08-26 17:51:01 +08:00
type GetChatLogsResp struct {
2022-08-29 15:52:39 +08:00
ChatLogs []*pbCommon.MsgData `json:"chatLogs"`
ChatLogsNum int `json:"logNums"`
2022-02-09 00:45:23 +08:00
ResponsePagination
}