![]() |
NIM 跨平台 C++ SDK
|
#include <nim_qchat_message_def.h>
Public 属性 | |
| nim_qchat_message_search_page_cb_func | cb |
| 消息搜索异步回调 | |
| void * | user_data |
| 自定义用户数据 | |
| char * | keyword |
| 搜索的关键字 | |
| uint64_t | server_id |
| 服务器ID | |
| uint64_t | channel_id |
| 频道ID | |
| char * | from_accid |
| 消息发送者ID | |
| uint64_t | from_time |
| 搜索的开始时间 | |
| uint64_t | to_time |
| 搜索的结束时间 | |
| size_t | msg_types_count |
| 搜索的消息类型数量 | |
| NIMQChatMsgType * | msg_types |
| 搜索的消息类型 | |
| size_t | sub_types_count |
| 搜索的消息子类型数量 | |
| uint32_t * | sub_types |
| 搜索的消息子类型 | |
| bool | include_self |
| 是否包含自己的消息 | |
| NIMQChatSearchOrder | order |
| 排序顺序 | |
| NIMQChatMessageSearchSort | sort |
| 排序规则 | |
| uint32_t | limit |
| 查询条数 | |
| char * | cursor |
| 查询游标, 查询的起始位置 | |
| nim_qchat_message_search_page_cb_func NIMQChatMessageSearchPageParam::cb |
消息搜索异步回调
| uint64_t NIMQChatMessageSearchPageParam::channel_id |
频道ID
| char* NIMQChatMessageSearchPageParam::cursor |
查询游标, 查询的起始位置
| char* NIMQChatMessageSearchPageParam::from_accid |
消息发送者ID
| uint64_t NIMQChatMessageSearchPageParam::from_time |
搜索的开始时间
| bool NIMQChatMessageSearchPageParam::include_self |
是否包含自己的消息
| char* NIMQChatMessageSearchPageParam::keyword |
搜索的关键字
| uint32_t NIMQChatMessageSearchPageParam::limit |
查询条数
| NIMQChatMsgType* NIMQChatMessageSearchPageParam::msg_types |
搜索的消息类型
| size_t NIMQChatMessageSearchPageParam::msg_types_count |
搜索的消息类型数量
| NIMQChatSearchOrder NIMQChatMessageSearchPageParam::order |
排序顺序
| uint64_t NIMQChatMessageSearchPageParam::server_id |
服务器ID
| NIMQChatMessageSearchSort NIMQChatMessageSearchPageParam::sort |
排序规则
| uint32_t* NIMQChatMessageSearchPageParam::sub_types |
搜索的消息子类型
| size_t NIMQChatMessageSearchPageParam::sub_types_count |
搜索的消息子类型数量
| uint64_t NIMQChatMessageSearchPageParam::to_time |
搜索的结束时间
| void* NIMQChatMessageSearchPageParam::user_data |
自定义用户数据