message.go 957 字节
Newer Older
W
pb api  
wangchuxiao 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 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"`
}