Documentation ¶
Index ¶
- type GetForwardRecordsReq
- type GetForwardRecordsRes
- type GetRecordsReq
- type GetRecordsRes
- type RecordsFileDownloadReq
- type RecordsFileDownloadRes
- type SearchHistoryRecordsReq
- type SearchHistoryRecordsRes
- type TalkRecordItem
- type TalkSessionClearUnreadNumReq
- type TalkSessionClearUnreadNumRes
- type TalkSessionCreateReq
- type TalkSessionCreateRes
- type TalkSessionDeleteReq
- type TalkSessionDeleteRes
- type TalkSessionDisturbReq
- type TalkSessionDisturbRes
- type TalkSessionListReq
- type TalkSessionListRes
- type TalkSessionTopReq
- type TalkSessionTopRes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetForwardRecordsReq ¶
type GetForwardRecordsReq struct { g.Meta `path:"/records/forward" tags:"talk" method:"get" summary:"会话转发记录接口"` model.GetForwardTalkRecordReq }
会话转发记录接口请求参数
type GetForwardRecordsRes ¶
type GetForwardRecordsRes struct { g.Meta `mime:"application/json" example:"json"` *model.GetTalkRecordsRes }
会话转发记录接口响应参数
type GetRecordsReq ¶
type GetRecordsReq struct { g.Meta `path:"/records" tags:"talk" method:"get" summary:"会话面板记录接口"` model.GetTalkRecordsReq }
会话面板记录接口请求参数
type GetRecordsRes ¶
type GetRecordsRes struct { g.Meta `mime:"application/json" example:"json"` *model.GetTalkRecordsRes }
会话面板记录接口响应参数
type RecordsFileDownloadReq ¶
type RecordsFileDownloadReq struct { g.Meta `path:"/records/file/download" tags:"talk" method:"get" summary:"会话文件下载接口"` model.DownloadChatFileReq }
会话文件下载接口请求参数
type RecordsFileDownloadRes ¶
会话文件下载接口响应参数
type SearchHistoryRecordsReq ¶
type SearchHistoryRecordsReq struct { g.Meta `path:"/records/history" tags:"talk" method:"get" summary:"历史会话记录接口"` model.GetTalkRecordsReq }
历史会话记录接口请求参数
type SearchHistoryRecordsRes ¶
type SearchHistoryRecordsRes struct { g.Meta `mime:"application/json" example:"json"` *model.GetTalkRecordsRes }
历史会话记录接口响应参数
type TalkRecordItem ¶
type TalkRecordItem struct { Id int32 `json:"id,omitempty"` TalkType int32 `json:"talk_type,omitempty"` ReceiverId int32 `json:"receiver_id,omitempty"` IsTop int32 `json:"is_top,omitempty"` IsDisturb int32 `json:"is_disturb,omitempty"` IsOnline int32 `json:"is_online,omitempty"` IsRobot int32 `json:"is_robot,omitempty"` Name string `json:"name,omitempty"` Avatar string `json:"avatar,omitempty"` RemarkName string `json:"remark_name,omitempty"` UnreadNum int32 `json:"unread_num,omitempty"` MsgText string `json:"msg_text,omitempty"` UpdatedAt string `json:"updated_at,omitempty"` Extra *anypb.Any `json:"extra,omitempty"` }
会话记录
type TalkSessionClearUnreadNumReq ¶
type TalkSessionClearUnreadNumReq struct { g.Meta `path:"/unread/clear" tags:"talk" method:"post" summary:"会话列表接口"` model.TalkSessionClearUnreadNumReq }
会话未读数清除接口请求参数
type TalkSessionClearUnreadNumRes ¶
会话未读数清除接口响应参数
type TalkSessionCreateReq ¶
type TalkSessionCreateReq struct { g.Meta `path:"/create" tags:"talk" method:"post" summary:"会话创建接口"` model.TalkSessionCreateReq }
会话创建接口请求参数
type TalkSessionCreateRes ¶
type TalkSessionCreateRes struct { g.Meta `mime:"application/json" example:"json"` *model.TalkSessionCreateRes }
会话创建接口响应参数
type TalkSessionDeleteReq ¶
type TalkSessionDeleteReq struct { g.Meta `path:"/delete" tags:"talk" method:"post" summary:"会话删除接口"` model.TalkSessionDeleteReq }
会话删除接口请求参数
type TalkSessionDeleteRes ¶
会话删除接口响应参数
type TalkSessionDisturbReq ¶
type TalkSessionDisturbReq struct { g.Meta `path:"/disturb" tags:"talk" method:"post" summary:"会话免打扰接口"` model.TalkSessionDisturbReq }
会话免打扰接口请求参数
type TalkSessionDisturbRes ¶
会话免打扰接口响应参数
type TalkSessionListReq ¶
会话列表接口请求参数
type TalkSessionListRes ¶
type TalkSessionListRes struct { g.Meta `mime:"application/json" example:"json"` *model.TalkSessionListRes }
会话列表接口响应参数
type TalkSessionTopReq ¶
type TalkSessionTopReq struct { g.Meta `path:"/topping" tags:"talk" method:"post" summary:"会话置顶接口"` model.TalkSessionTopReq }
会话置顶接口请求参数
type TalkSessionTopRes ¶
会话置顶接口响应参数
Click to show internal directories.
Click to hide internal directories.