NIM PC Cross Platform SDK
nim_qchat_message.h File Reference
#include "nim_qchat_defines/nim_qchat_message_def.h"
#include "public_defines.h"

Go to the source code of this file.

Functions

NIM_SDK_DLL_API void nim_qchat_reg_recv_msg_cb (const NIMQChatRegRecvMsgCbParam &param)
 注册接收消息回调 More...
 
NIM_SDK_DLL_API void nim_qchat_reg_msg_updated_cb (const NIMQChatRegMsgUpdatedCbParam &param)
 注册消息更新回调 More...
 
NIM_SDK_DLL_API void nim_qchat_send_msg (const NIMQChatSendMessageParam &param)
 发送圈组消息 More...
 
NIM_SDK_DLL_API void nim_qchat_update_msg (const NIMQChatUpdateMessageParam &param)
 更新圈组消息 More...
 
NIM_SDK_DLL_API void nim_qchat_revoke_msg (const NIMQChatRevokeMessageParam &param)
 撤回圈组消息,撤回未读消息不影响未读数 More...
 
NIM_SDK_DLL_API void nim_qchat_delete_msg (const NIMQChatDeleteMessageParam &param)
 删除圈组消息,删除未读消息影响未读数 More...
 
NIM_SDK_DLL_API void nim_qchat_query_history_msg (const NIMQChatGetMessagesParam &param)
 查询历史消息 More...
 
NIM_SDK_DLL_API void nim_qchat_query_history_msg_cache (const NIMQChatGetMessagesCacheParam &param)
 从本地缓存中查询消息历史, 仅用于无网络情况或加速页面显示时使用,恢复通信后应使用GetMessages的结果进行覆盖 More...
 
NIM_SDK_DLL_API void nim_qchat_get_last_messages (const NIMQChatGetLastMessagesParam &param)
 查询频道最后一条消息 More...
 
NIM_SDK_DLL_API void nim_qchat_mark_message_read (const NIMQChatMarkMessageReadParam &param)
 标记消息已读 More...
 
NIM_SDK_DLL_API void nim_qchat_reply_message (const NIMQChatReplyMessageParam &param)
 回复指定消息 More...
 
NIM_SDK_DLL_API void nim_qchat_get_message_history_by_ids (const NIMQChatGetMessageHistoryByIdsParam &param)
 根据一批消息 ID 查询消息详情 More...
 
NIM_SDK_DLL_API void nim_qchat_get_refer_messages (const NIMQChatGetReferMessagesParam &param)
 检索一条消息得依赖消息 More...
 
NIM_SDK_DLL_API void nim_qchat_get_thread_messages (const NIMQChatGetThreadMessagesParam &param)
 获取 thread 消息列表 More...
 
NIM_SDK_DLL_API void nim_qchat_get_thread_root_messages_meta (const NIMQChatGetThreadRootMessagesMetaParam &param)
 查询一批 thread root 消息的基本信息(回复数量、最后回复时间) More...
 
NIM_SDK_DLL_API void nim_qchat_add_quick_comment (const NIMQChatAddQuickCommentParam &param)
 添加快捷评论 More...
 
NIM_SDK_DLL_API void nim_qchat_remove_quick_comment (const NIMQChatRemoveQuickCommentParam &param)
 移除指定快捷评论 More...
 
NIM_SDK_DLL_API void nim_qchat_get_quick_comments (const NIMQChatGetQuickCommentsParam &param)
 批量获取一个消息关联的快捷评论列表 More...
 
NIM_SDK_DLL_API void nim_qchat_search_msg_by_page (const NIMQChatMessageSearchPageParam &param)
 消息搜索 More...
 

Detailed Description

Author
NetEase Yunxin
Version
0.1
Date
2022-01-17

Function Documentation

◆ nim_qchat_add_quick_comment()

void nim_qchat_add_quick_comment ( const NIMQChatAddQuickCommentParam param)

添加快捷评论

Since
v9.1.0
Parameters
param接口参数
See also
NIMQChatAddQuickCommentParam
Returns
void

◆ nim_qchat_delete_msg()

nim_qchat_delete_msg ( const NIMQChatDeleteMessageParam param)

删除圈组消息,删除未读消息影响未读数

Parameters
param更新的消息内容
See also
NIMQChatDeleteMessageParam
Returns
void

◆ nim_qchat_get_last_messages()

void nim_qchat_get_last_messages ( const NIMQChatGetLastMessagesParam param)

查询频道最后一条消息

Parameters
[in]param接口参数
See also
NIMQChatGetLastMessagesParam
Returns
void

◆ nim_qchat_get_message_history_by_ids()

void nim_qchat_get_message_history_by_ids ( const NIMQChatGetMessageHistoryByIdsParam param)

根据一批消息 ID 查询消息详情

Since
v9.1.0
Parameters
param接口参数
See also
NIMQChatGetMessageHistoryByIdsParam
Returns
void

◆ nim_qchat_get_quick_comments()

NIM_SDK_DLL_API void nim_qchat_get_quick_comments ( const NIMQChatGetQuickCommentsParam param)

批量获取一个消息关联的快捷评论列表

void nim_qchat_get_quick_comments(const NIMQChatGetQuickCommentsParam& param)

Since
v9.1.0
Parameters
param接口参数
See also
NIMQChatGetQuickCommentsParam
Returns
void

◆ nim_qchat_get_refer_messages()

NIM_SDK_DLL_API void nim_qchat_get_refer_messages ( const NIMQChatGetReferMessagesParam param)

检索一条消息得依赖消息

void nim_qchat_get_refer_messages(const NIMQChatGetReferMessagesParam& param)

Since
v9.1.0
Parameters
param接口参数
See also
NIMQChatGetReferMessagesParam
Returns
void

◆ nim_qchat_get_thread_messages()

void nim_qchat_get_thread_messages ( const NIMQChatGetThreadMessagesParam param)

获取 thread 消息列表

Since
v9.1.0
Parameters
param接口参数
See also
NIMQChatGetMessagesThreadParam
Returns
void

◆ nim_qchat_get_thread_root_messages_meta()

void nim_qchat_get_thread_root_messages_meta ( const NIMQChatGetThreadRootMessagesMetaParam param)

查询一批 thread root 消息的基本信息(回复数量、最后回复时间)

Since
v9.1.0
Parameters
param接口参数
See also
NIMQChatGetThreadRootMessagesMetaParam
Returns
void

◆ nim_qchat_mark_message_read()

void nim_qchat_mark_message_read ( const NIMQChatMarkMessageReadParam param)

标记消息已读

Parameters
[in]param接口参数
See also
NIMQChatMarkMessageReadParam
Returns
void

◆ nim_qchat_query_history_msg()

void nim_qchat_query_history_msg ( const NIMQChatGetMessagesParam param)

查询历史消息

Parameters
[in]param接口参数
See also
NIMQChatGetMessagesParam
Returns
void

◆ nim_qchat_query_history_msg_cache()

void nim_qchat_query_history_msg_cache ( const NIMQChatGetMessagesCacheParam param)

从本地缓存中查询消息历史, 仅用于无网络情况或加速页面显示时使用,恢复通信后应使用GetMessages的结果进行覆盖

Parameters
param要查询的服务器、频道
See also
NIMQChatGetMessagesCacheParam
Returns
void

◆ nim_qchat_reg_msg_updated_cb()

void nim_qchat_reg_msg_updated_cb ( const NIMQChatRegMsgUpdatedCbParam param)

注册消息更新回调

Parameters
[in]param接口参数
See also
NIMQChatRegMsgUpdatedCbParam
Returns
void

◆ nim_qchat_reg_recv_msg_cb()

void nim_qchat_reg_recv_msg_cb ( const NIMQChatRegRecvMsgCbParam param)

注册接收消息回调

Parameters
[in]param接口参数
See also
NIMQChatRegRecvMsgCbParam
Returns
void

◆ nim_qchat_remove_quick_comment()

NIM_SDK_DLL_API void nim_qchat_remove_quick_comment ( const NIMQChatRemoveQuickCommentParam param)

移除指定快捷评论

void nim_qchat_remove_quick_comment(const NIMQChatRemoveQuickCommentParam& param)

Since
v9.1.0
Parameters
param接口参数
See also
NIMQChatRemoveQuickCommentParam
Returns
void

◆ nim_qchat_reply_message()

void nim_qchat_reply_message ( const NIMQChatReplyMessageParam param)

回复指定消息

Since
v9.1.0
Parameters
param接口参数
See also
NIMQChatReplyMessageParam
Returns
void

◆ nim_qchat_revoke_msg()

void nim_qchat_revoke_msg ( const NIMQChatRevokeMessageParam param)

撤回圈组消息,撤回未读消息不影响未读数

Parameters
param更新的消息内容
See also
NIMQChatRevokeMessageParam
Returns
void

◆ nim_qchat_search_msg_by_page()

NIM_SDK_DLL_API void nim_qchat_search_msg_by_page ( const NIMQChatMessageSearchPageParam param)

消息搜索

void nim_qchat_search_msg_by_page(const NIMQChatMessageSearchPageParam& param)

Since
v9.4.0
Parameters
param接口参数
See also
NIMQChatMessageSearchPageParam
Returns
void

◆ nim_qchat_send_msg()

void nim_qchat_send_msg ( const NIMQChatSendMessageParam param)

发送圈组消息

Parameters
[in]param接口参数
See also
NIMQChatSendMessageParam
Returns
void

◆ nim_qchat_update_msg()

void nim_qchat_update_msg ( const NIMQChatUpdateMessageParam param)

更新圈组消息

Parameters
param更新的消息内容
See also
NIMQChatUpdateMessageParam
Returns
void