You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Open-IM-Server/pkg/cms_api_struct/message.go

28 lines
957 B

package cms_api_struct
type SearchMessageByUserResponse struct {
MessageList []struct {
ChatType int `json:"chat_type"`
MessageType int `json:"message_type"`
SenderNickName string `json:"sender_nick_name"`
SenderId int `json:"sender_id"`
ReceiverNickName string `json:"receiver_nick_name"`
ReceiverID int `json:"receiver_id"`
SearchContent string `json:"search_content"`
WholeContent string `json:"whole_content"`
Date string `json:"date"`
} `json:"massage_list"`
}
type SearchMessageByGroupResponse struct {
MessageList []struct {
ChatType int `json:"chat_type"`
MessageType int `json:"message_type"`
SenderNickName string `json:"sender_nick_name"`
SenderId int `json:"sender_id"`
SearchContent string `json:"search_content"`
WholeContent string `json:"whole_content"`
Date string `json:"date"`
} `json:"massage_list"`
}