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/base_info/office_struct.go

65 lines
1.0 KiB

3 years ago
package base_info
3 years ago
import (
pbOffice "Open_IM/pkg/proto/office"
server_api_params "Open_IM/pkg/proto/sdk_ws"
)
3 years ago
type GetUserTagsReq struct {
pbOffice.GetUserTagsReq
}
type GetUserTagsResp struct {
CommResp
Data struct {
Tags []*pbOffice.Tag `json:"tags"`
} `json:"data"`
}
type CreateTagReq struct {
pbOffice.CreateTagReq
}
type CreateTagResp struct {
CommResp
}
type DeleteTagReq struct {
pbOffice.DeleteTagReq
}
type DeleteTagResp struct {
CommResp
}
type SetTagReq struct {
pbOffice.SetTagReq
}
type SetTagResp struct {
CommResp
}
type SendMsg2TagReq struct {
pbOffice.SendMsg2TagReq
}
type SendMsg2TagResp struct {
CommResp
}
3 years ago
type GetTagSendLogsReq struct {
server_api_params.RequestPagination
UserID string `json:"userID"`
OperationID string `json:"operationID"`
}
type GetTagSendLogsResp struct {
CommResp
Data struct {
Logs []*pbOffice.TagSendLog `json:"logs"`
CurrentPage int32 `json:"currentPage"`
ShowNumber int32 `json:"showNumber"`
} `json:"data"`
}