mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-04-30 07:19:20 +08:00
pb api
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user