package
0.1.3
Repository: https://github.com/txchat/dtalk.git
Documentation: pkg.go.dev

# Functions

@Summary 关注消息@Description@Author [email protected]@Tags record 消息模块@Accept json@Produce json@Param FZM-SIGNATURE header string true "MOCK"@Param data body model.FocusMsgReq true "body"@Success 200 {object} model.GeneralResponse{}@Router /app/record/focus [post].
GetPriRecords @Summary 获得聊天记录 @Author [email protected] @Tags record 消息模块 @Accept json @Produce json @Param FZM-SIGNATURE header string true "MOCK" @Param data body model.GetPriRecordsReq false "body" @Success 200 {object} model.GeneralResponse{data=model.GetPriRecordsResp} @Router /app/pri-chat-record [post].
PushToUid @Summary 推送消息 @Description comet.Proto由接口组装,客户端只需传入comet.Proto的body部分 @Author [email protected] @Tags record 消息模块 @Accept mpfd @Produce json @Param FZM-SIGNATURE header string true "MOCK" @Param message body string true "消息协议序列化" @Success 200 {object} model.GeneralResponse{} @Router /record/push [post].
PushToUid2 @Summary 推送消息2 @Description comet.Proto由客户端传入 @Author [email protected] @Tags record 消息模块 @Accept mpfd @Produce json @Param FZM-SIGNATURE header string true "MOCK" @Param message body string true "消息协议序列化" @Success 200 {object} model.GeneralResponse{} @Router /record/push2 [post].
RevokeHandler @Summary 撤回消息 @Description @Author [email protected] @Tags record 消息模块 @Accept json @Produce json @Param FZM-SIGNATURE header string true "MOCK" @Param data body model.RevokeMsgReq true "body" @Success 200 {object} model.GeneralResponse{} @Router /app/record/revoke [post].
SyncRecords @Summary 同步聊天记录 @Author [email protected] @Tags record 消息模块 @Accept json @Produce json @Param FZM-SIGNATURE header string true "MOCK" @Param data body model.SyncRecordsReq false "body" @Success 200 {object} model.GeneralResponse{data=model.SyncRecordsResp} @Router /app/sync-record [post].