v1

package
v0.9.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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 RecordsFileDownloadRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

会话文件下载接口响应参数

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 TalkSessionClearUnreadNumRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

会话未读数清除接口响应参数

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 TalkSessionDeleteRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

会话删除接口响应参数

type TalkSessionDisturbReq

type TalkSessionDisturbReq struct {
	g.Meta `path:"/disturb" tags:"talk" method:"post" summary:"会话免打扰接口"`
	model.TalkSessionDisturbReq
}

会话免打扰接口请求参数

type TalkSessionDisturbRes

type TalkSessionDisturbRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

会话免打扰接口响应参数

type TalkSessionListReq

type TalkSessionListReq struct {
	g.Meta `path:"/list" tags:"talk" method:"get" summary:"会话列表接口"`
}

会话列表接口请求参数

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

type TalkSessionTopRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

会话置顶接口响应参数

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL