Skip to content

qchat_def.message_def

Zvicii edited this page Jul 7, 2023 · 6 revisions

Module: qchat_def/message_def

Table of contents

Interfaces

Type Aliases

Type Aliases

RecvMsgCallback

Ƭ RecvMsgCallback: (resp: QChatRecvMsgResp) => void

Type declaration

▸ (resp): void

接收消息回调

Parameters
Name Type
resp QChatRecvMsgResp
Returns

void

Defined in

ts/qchat_def/message_def.ts:390


SendMsgCallback

Ƭ SendMsgCallback: (resp: QChatSendMessageResp) => void

Type declaration

▸ (resp): void

发送消息回调

Parameters
Name Type
resp QChatSendMessageResp
Returns

void

Defined in

ts/qchat_def/message_def.ts:392


UpdateMsgCallback

Ƭ UpdateMsgCallback: (resp: QChatUpdateMessageResp) => void

Type declaration

▸ (resp): void

更新消息回调

Parameters
Name Type
resp QChatUpdateMessageResp
Returns

void

Defined in

ts/qchat_def/message_def.ts:394


MsgUpdatedCallback

Ƭ MsgUpdatedCallback: (resp: QChatMsgUpdatedResp) => void

Type declaration

▸ (resp): void

消息更新回调

Parameters
Name Type
resp QChatMsgUpdatedResp
Returns

void

Defined in

ts/qchat_def/message_def.ts:396


GetMessagesCallback

Ƭ GetMessagesCallback: (resp: QChatGetMessagesResp) => void

Type declaration

▸ (resp): void

查询历史消息回调

Parameters
Name Type
resp QChatGetMessagesResp
Returns

void

Defined in

ts/qchat_def/message_def.ts:398


GetLastMessagesCallback

Ƭ GetLastMessagesCallback: (resp: QChatGetLastMessagesResp) => void

Type declaration

▸ (resp): void

查询频道最后一条消息回调

Parameters
Name Type
resp QChatGetLastMessagesResp
Returns

void

Defined in

ts/qchat_def/message_def.ts:400


GetMessagesCacheCallback

Ƭ GetMessagesCacheCallback: GetMessagesCallback

本地获取消息回调

Defined in

ts/qchat_def/message_def.ts:402


MarkMessageReadCallback

Ƭ MarkMessageReadCallback: (resp: QChatMarkMessageReadResp) => void

Type declaration

▸ (resp): void

消息已读标记回调

Parameters
Name Type
resp QChatMarkMessageReadResp
Returns

void

Defined in

ts/qchat_def/message_def.ts:404


ReplyMessageCallback

Ƭ ReplyMessageCallback: (resp: QChatReplyMessageResp) => void

Type declaration

▸ (resp): void

回复消息回调

Parameters
Name Type
resp QChatReplyMessageResp
Returns

void

Defined in

ts/qchat_def/message_def.ts:406


GetMessageHistoryByIdsCallback

Ƭ GetMessageHistoryByIdsCallback: GetMessagesCallback

根据消息 ID 查询消息回调

Defined in

ts/qchat_def/message_def.ts:408


GetReferMessagesCallback

Ƭ GetReferMessagesCallback: GetMessagesCallback

获取关联消息回调

Defined in

ts/qchat_def/message_def.ts:410


GetThreadMessagesCallback

Ƭ GetThreadMessagesCallback: (resp: QChatGetThreadMessagesResp) => void

Type declaration

▸ (resp): void

获取 thread 消息回调

Parameters
Name Type
resp QChatGetThreadMessagesResp
Returns

void

Defined in

ts/qchat_def/message_def.ts:412


GetThreadRootMessagesMetaCallback

Ƭ GetThreadRootMessagesMetaCallback: (resp: QChatGetThreadRootMessagesMetaResp) => void

Type declaration

▸ (resp): void

查询Thread消息元信息回调

Parameters
Name Type
resp QChatGetThreadRootMessagesMetaResp
Returns

void

Defined in

ts/qchat_def/message_def.ts:414


QuickCommentCallback

Ƭ QuickCommentCallback: QChatBaseCallback

添加快捷回复回调

Defined in

ts/qchat_def/message_def.ts:416


GetQuickCommentsCallback

Ƭ GetQuickCommentsCallback: (resp: QChatGetQuickCommentsResp) => void

Type declaration

▸ (resp): void

查询快捷回复回调

Parameters
Name Type
resp QChatGetQuickCommentsResp
Returns

void

Defined in

ts/qchat_def/message_def.ts:418


MessageSearchPageCallback

Ƭ MessageSearchPageCallback: (resp: QChatMessageSearchPageResp) => void

Type declaration

▸ (resp): void

消息分页搜索回调

Parameters
Name Type
resp QChatMessageSearchPageResp
Returns

void

Defined in

ts/qchat_def/message_def.ts:420


GetMentionedMeMessagesCallback

Ƭ GetMentionedMeMessagesCallback: (resp: QChatGetMentionedMeMessagesResp) => void

Type declaration

▸ (resp): void

根据消息 ID 查询消息回调

Parameters
Name Type
resp QChatGetMentionedMeMessagesResp
Returns

void

Defined in

ts/qchat_def/message_def.ts:422


AreMentionedMeMessagesCallback

Ƭ AreMentionedMeMessagesCallback: (resp: QChatAreMentionedMeMessagesResp) => void

Type declaration

▸ (resp): void

查询消息是否 @ 当前用户回调

Parameters
Name Type
resp QChatAreMentionedMeMessagesResp
Returns

void

Defined in

ts/qchat_def/message_def.ts:424

Clone this wiki locally