7#ifndef NIM_SDK_DLL_EXPORT_HEADERS_MSGLOG_DEF_H_
8#define NIM_SDK_DLL_EXPORT_HEADERS_MSGLOG_DEF_H_
72 const void* user_data);
84 const void* user_data);
140 const char* json_extension,
141 const void* user_data);
163typedef void (*
nim_msglog_res_cb_func)(
int res_code,
const char* msg_id,
const char* json_extension,
const void* user_data);
220 const char* client_id,
223 const void* user_data);
242 const char* root_msg,
246 const void* user_data);
258 const char* error_message,
259 const void* user_data);
545 char* (*ExportBackupToRemotePackageCallback)(
const char*
const file_path,
void* user_data);
552 char* (*ExportBackupToRemoteEncryptCallback)(
const char*
const file_path,
const char*
const encrypt_key,
void* user_data);
574 bool (*ExportBackupToRemoteLogFiter)(
const char*
const msg,
void* user_data);
579 void (*NewPathRelease)(
char** data_ptr);
590 char* (*ImportBackupFromRemoteUnPackageCallback)(
const char*
const file_path,
void* user_data);
597 char* (*ImportBackupFromRemoteDecryptCallback)(
const char*
const file_path,
const char*
const encrypt_key,
void* user_data);
616 void (*NewPathRelease)(
char**);
848 char from_account[128];
850 char to_account[128];
866 char from_account[128];
868 char to_account[128];
static const char * kNIMMsglogJsonExtKeyQueryMsgTypeList
array 要查询的消息类型
Definition nim_msglog_def.h:638
void(* nim_msglog_status_changed_cb_func)(int res_code, const char *result, const char *json_extension, const void *user_data)
Definition nim_msglog_def.h:204
void(* nim_msglog_res_ex_cb_func)(int res_code, const char *uid, enum NIMSessionType type, const char *json_extension, const void *user_data)
Definition nim_msglog_def.h:175
static const char * kNIMNotificationIdNetCallChannelKey
int64 通道id
Definition nim_msglog_def.h:807
void(* nim_msglog_is_msglog_index_built_cb_func)(bool is_built, const void *user_data)
Definition nim_msglog_def.h:253
static const char * kNIMNotificationKeyTeamInfo
string, team_info 群组信息 Json Keys
Definition nim_msglog_def.h:786
static const char * kNIMNotificationKeyAttach
string array, 应用自定义扩展字段
Definition nim_msglog_def.h:792
static const char * kNIMMsglogReliable
Definition nim_msglog_def.h:287
static const char * kNIMTEAMMSGACKREADFAILUREIDSKEY
string json array 群组消息标记已读失败的msg id list key
Definition nim_msglog_def.h:838
static const char * kNIMNotificationIdNetCallEXTKey
string 会发起时传入的 custominfo参数
Definition nim_msglog_def.h:813
LogsBackupRemoteOperate
Definition nim_msglog_def.h:476
@ LogsBackupRemoteOperate_Export
导出
Definition nim_msglog_def.h:478
@ LogsBackupRemoteOperate_Import
导入
Definition nim_msglog_def.h:480
static const char * kNIMNotificationIdNetCallTypeKey
int 通话类型对应NIMVideoChatMode
Definition nim_msglog_def.h:801
void(* nim_msglog_query_cb_func)(int res_code, const char *id, enum NIMSessionType type, const char *result, const char *json_extension, const void *user_data)
Definition nim_msglog_def.h:136
static const char * kNIMMsglogQueryJsonExtensionKeyDirection
NIMMsglogSearchDirection,默认为kForward
Definition nim_msglog_def.h:625
void(* nim_msglog_delete_message_self_notify_cb_func)(const char *infos, const void *user_data)
Definition nim_msglog_def.h:100
NIMMsgLogStatus
Definition nim_msglog_def.h:343
@ kNIMMsgLogStatusSent
已发送
Definition nim_msglog_def.h:357
@ kNIMMsgLogStatusSendCancel
发送取消
Definition nim_msglog_def.h:363
@ kNIMMsgLogStatusRead
收到消息,已读
Definition nim_msglog_def.h:349
@ kNIMMsgLogStatusUnread
收到消息,未读
Definition nim_msglog_def.h:347
@ kNIMMsgLogStatusReceipt
对方已读发送的内容
Definition nim_msglog_def.h:359
@ kNIMMsgLogStatusDeleted
已删
Definition nim_msglog_def.h:351
@ kNIMMsgLogStatusSending
发送中
Definition nim_msglog_def.h:353
@ kNIMMsgLogStatusNone
默认,不能当查询条件,意义太多
Definition nim_msglog_def.h:345
@ kNIMMsgLogStatusSendFailed
发送失败
Definition nim_msglog_def.h:355
@ kNIMMsgLogStatusDraft
草稿
Definition nim_msglog_def.h:361
@ kNIMMsgLogStatusRefused
被对方拒绝,比如被对方加入黑名单等等
Definition nim_msglog_def.h:365
NIMMsglogQuerySource
Definition nim_msglog_def.h:293
@ kNIMMsglogQuerySourceLocal
本地查询
Definition nim_msglog_def.h:295
@ kNIMMsglogQuerySourceServer
云端查询
Definition nim_msglog_def.h:297
static const char * kNIMDELMSGSelfNotifyKeyEXT
string 用户自定义数据
Definition nim_msglog_def.h:829
void(* nim_msglog_delete_message_self_res_cb_func)(int res_code, const void *user_data)
Definition nim_msglog_def.h:92
static const char * kNIMNotificationIdNetCallFromKey
string 发起者帐号
Definition nim_msglog_def.h:811
NIMMessageType
Definition nim_msglog_def.h:301
@ kNIMMessageTypeCustom
自定义消息
Definition nim_msglog_def.h:323
@ kNIMMessageTypeAudio
声音类型消息
Definition nim_msglog_def.h:307
@ kNIMMessageTypeUnknown
未知类型消息,本地使用,发送时勿使用,作为默认值
Definition nim_msglog_def.h:325
@ kNIMMessageTypeVideo
视频类型消息
Definition nim_msglog_def.h:309
@ kNIMMessageTypeTips
提醒类型消息,Tip内容根据格式要求填入消息结构中的kNIMMsgKeyServerExt字段
Definition nim_msglog_def.h:317
@ kNIMMessageTypeG2NetCall
G2话单消息
Definition nim_msglog_def.h:321
@ kNIMMessageTypeImage
图片类型消息
Definition nim_msglog_def.h:305
@ kNIMMessageTypeFile
文件类型消息
Definition nim_msglog_def.h:315
@ kNIMMessageTypeRobot
波特机器人消息
Definition nim_msglog_def.h:319
@ kNIMMessageTypeText
文本类型消息
Definition nim_msglog_def.h:303
@ kNIMMessageTypeLocation
位置类型消息
Definition nim_msglog_def.h:311
@ kNIMMessageTypeNotification
系统类型通知(包括入群出群通知等) NIMNotificationId
Definition nim_msglog_def.h:313
void(* nim_msglog_query_message_is_thread_root_async_cb_func)(int res_code, const char *client_id, bool is_root, int reply_count, const void *user_data)
Definition nim_msglog_def.h:219
void(* nim_msglog_delete_history_online_res_cb_func_ex)(int res_code, const char *accid, enum NIMSessionType type, uint64_t time, const char *ext, const void *user_data)
Definition nim_msglog_def.h:67
static const char * kNIMMsglogQueryJsonExtensionKeyEndTime
int64_t,查询消息的截止时间,如果direction为kForward,则截止时间应小于anchor_msg_time,否则大于anchor_msg_time,...
Definition nim_msglog_def.h:629
static const char * kNIMDELMSGSelfNotifyKeyMsgClientID
string 消息ID
Definition nim_msglog_def.h:827
static const char * kNIMMsglogJsonExtKeyNeedAutoDownloadAttachment
bool 查询结果回来后,是否需要sdk自动下载消息附件。true:需要,false:不需要
Definition nim_msglog_def.h:636
static const char * kNIMNotificationKeyDataId
string
Definition nim_msglog_def.h:780
static const char * kNIMNotificationKeyTeamMember
string, team_member_property 群组成员信息 Json Keys
Definition nim_msglog_def.h:788
NIMAIMessageStatus
AI 数字人消息状态
Definition nim_msglog_def.h:529
@ kNIMMessageAIStatusResponse
表示是数字人响应艾特的消息
Definition nim_msglog_def.h:535
@ kNIMMessageAIStatusUnknown
默认
Definition nim_msglog_def.h:531
@ kNIMMessageAIStatusAt
表示是一个艾特数字人的消息
Definition nim_msglog_def.h:533
NIMMsgLogSubStatus
Definition nim_msglog_def.h:465
@ kNIMMsgLogSubStatusNotPlaying
未播放
Definition nim_msglog_def.h:470
@ kNIMMsgLogSubStatusNone
默认状态
Definition nim_msglog_def.h:467
@ kNIMMsgLogSubStatusPlayed
已播放
Definition nim_msglog_def.h:472
static const char * kNIMNotificationKeyUserNameCards
json string array, 操作者和被操作者双方的 用户名片 Json Keys
Definition nim_msglog_def.h:790
void(* nim_msglog_query_single_cb_func)(int res_code, const char *msg_id, const char *result, const char *json_extension, const void *user_data)
Definition nim_msglog_def.h:113
void(* nim_msglog_res_cb_func)(int res_code, const char *msg_id, const char *json_extension, const void *user_data)
Definition nim_msglog_def.h:163
static const char * kNIMNotificationKeyId
int, 见NIMNotificationId
Definition nim_msglog_def.h:772
NIMMessageFeature
Definition nim_msglog_def.h:329
@ kNIMMessageFeatureRoamMsg
漫游消息
Definition nim_msglog_def.h:335
@ kNIMMessageFeatureCustomizedMsg
透传消息
Definition nim_msglog_def.h:339
@ kNIMMessageFeatureDefault
默认
Definition nim_msglog_def.h:331
@ kNIMMessageFeatureSyncMsg
同步消息
Definition nim_msglog_def.h:337
@ kNIMMessageFeatureLeaveMsg
离线消息
Definition nim_msglog_def.h:333
void(* nim_msglog_build_msglog_indexes_progress_cb_func)(uint32_t total, uint32_t built_count, const void *user_data)
Definition nim_msglog_def.h:255
NIMNotificationId
Definition nim_msglog_def.h:369
@ kNIMNotificationIdLocalUpdateMemberProperty
本地操作更新群成员属性 {"team_member" : team_member_info}
Definition nim_msglog_def.h:417
@ kNIMNotificationIdNetcallBill
话单,{"calltype":2,"channel":6146077129466446197,"duration":8,"ids":["id1","id2"],"time":1430995117398}
Definition nim_msglog_def.h:395
@ kNIMNotificationIdTeamUpdate
群信息更新,{"team_info":team_info,"user_namecards":["namecard1", "namecard2"]}
Definition nim_msglog_def.h:377
@ kNIMNotificationIdLocalCreateTeam
本地操作创建群 {"ids" : ["a1", "a2"]}
Definition nim_msglog_def.h:409
@ kNIMNotificationIdSuperTeamLeave
退出超大群,{"id" : "a1","user_namecards":["namecard1", "namecard2"]}
Definition nim_msglog_def.h:445
@ kNIMNotificationIdTeamMemberChanged
群成员变更{"team_member" : team_member_info}
Definition nim_msglog_def.h:403
@ kNIMNotificationIdLocalMuteMember
本地操作对群成员禁言 {"id":"a1", "mute":1-禁言,0-解禁}
Definition nim_msglog_def.h:425
@ kNIMNotificationIdSuperTeamMuteMember
超大群禁言/解禁群成员,{"uinfos":["uinfo1", "uinfo2"],“tinfo”:tinfo,"id":"a1","mute":1-禁言,0-解禁}
Definition nim_msglog_def.h:457
@ kNIMNotificationIdLocalRejectApply
本地操作拒绝申请 {"id":"a1"}
Definition nim_msglog_def.h:413
@ kNIMNotificationIdSuperTeamApplyPass
超大群申请加入成功,{"tinfo":tinfo,"id":"a1","uinfos":["uinfo1", "uinfo2"]}
Definition nim_msglog_def.h:459
@ kNIMNotificationIdSuperTeamOwnerTransfer
超大群移交群主,{"id":"a1","uinfos":["uinfo1", "uinfo2"]}
Definition nim_msglog_def.h:451
@ kNIMNotificationIdLocalGetTeamInfo
本地操作获取群信息 {"team_info":team_info} // 群组信息(Keys SEE MORE nim_team_def.h 『群组信息 Json Keys』)
Definition nim_msglog_def.h:421
@ kNIMNotificationIdTeamMuteMember
禁言/解禁群成员,{"user_namecards":["namecard1", "namecard2"],"team_info":team_info,"id":"a1",...
Definition nim_msglog_def.h:391
@ kNIMNotificationIdSuperTeamDismiss
超大群解散,{"user_namecards":["namecard1", "namecard2"]}
Definition nim_msglog_def.h:449
@ kNIMNotificationIdSuperTeamAddManager
超大群增加管理员,{"ids":["a1","a2"],"uinfos":["uinfo1", "uinfo2"]}
Definition nim_msglog_def.h:453
@ kNIMNotificationIdTeamKick
普通群踢人,{"ids":["a1", "a2"],"user_namecards":["namecard1", "namecard2"], "attach" : ""}
Definition nim_msglog_def.h:373
@ kNIMNotificationIdLocalNetcallCanceled
未接通前主叫方挂断,{"calltype":1,"channel":6146078138783760761,"from":"id1","ids":["id1","id2"],...
Definition nim_msglog_def.h:439
@ kNIMNotificationIdTeamSyncCreate
创建群 {"team_info" : team_info} // 群组信息(Keys SEE MORE nim_team_def.h 『群组信息 Json Keys』)
Definition nim_msglog_def.h:401
@ kNIMNotificationIdTeamApplyPass
高级群申请加入成功,{"id":"a1","user_namecards":["namecard1", "namecard2"]}
Definition nim_msglog_def.h:381
@ kNIMNotificationIdLocalGetTeamMsgUnreadList
获取群消息未读列表 {"client_msg_id":"", "read":["id1",...], "unread":["id2",...]}
Definition nim_msglog_def.h:431
@ kNIMNotificationIdSuperTeamInviteAccept
超大群接受邀请进群,{"tinfo":tinfo,"id":"a1"}
Definition nim_msglog_def.h:461
@ kNIMNotificationIdLocalMute
本地操作对群禁言 {}
Definition nim_msglog_def.h:427
@ kNIMNotificationIdTeamDismiss
群解散,{"user_namecards":["namecard1", "namecard2"]}
Definition nim_msglog_def.h:379
@ kNIMNotificationIdTeamInvite
普通群拉人,{"ids":["a1", "a2"],"user_namecards":["namecard1", "namecard2"], "attach" : ""}
Definition nim_msglog_def.h:371
@ kNIMNotificationIdSuperTeamInvite
超大群拉人,{"ids":["a1", "a2"],"user_namecards":["namecard1", "namecard2"], "attach" : ""}
Definition nim_msglog_def.h:441
@ kNIMNotificationIdLocalApplyTeam
本地操作申请加入群 {}
Definition nim_msglog_def.h:411
@ kNIMNotificationIdTeamOwnerTransfer
高级群移交群主,{"id":"a1", "leave" : bool,"user_namecards":["namecard1", "namecard2"]}
Definition nim_msglog_def.h:383
@ kNIMNotificationIdNetcallReject
拒绝电话,{"calltype":1,"channel":6144978055925334000,"from":"id1","ids":["id1"],"time":139323423424}
Definition nim_msglog_def.h:397
@ kNIMNotificationIdTeamInviteAccept
高级群接受邀请进群,{"id":"a1","user_namecards":["namecard1", "namecard2"]}
Definition nim_msglog_def.h:389
@ kNIMNotificationIdLocalNetcallNoResponse
无应答,未接通电话,{"calltype":1,"channel":6146078138783760761,"from":"id1","ids":["id1","id2"],...
Definition nim_msglog_def.h:437
@ kNIMNotificationIdLocalGetTeamMsgUnreadCount
获取群消息未读数 {[{"client_msg_id":"", "count":int, "read_accid":"当前已读成员的accid"},...]}
Definition nim_msglog_def.h:429
@ kNIMNotificationIdLocalRejectInvite
本地操作拒绝邀请 {"id":"a1"}
Definition nim_msglog_def.h:415
@ kNIMNotificationIdLocalNetcallReject
拒绝电话,{"calltype":1,"channel":6146078138783760761,"from":"id1","ids":["id1","id2"],...
Definition nim_msglog_def.h:435
@ kNIMNotificationIdSuperTeamKick
超大群踢人,{"ids":["a1", "a2"],"user_namecards":["namecard1", "namecard2"], "attach" : ""}
Definition nim_msglog_def.h:443
@ kNIMNotificationIdNetcallMiss
未接电话,{"calltype":1,"channel":6146078138783760761,"from":"id1","ids":["id1","id2"],...
Definition nim_msglog_def.h:393
@ kNIMNotificationIdTeamSyncUpdateMemberProperty
同步通知:修改群成员属性(可能是自己的或别人的)
Definition nim_msglog_def.h:405
@ kNIMNotificationIdLocalGetTeamList
本地操作获取群成员信息结束
Definition nim_msglog_def.h:423
@ kNIMNotificationIdTeamAddManager
增加管理员,{"ids":["a1","a2"],"user_namecards":["namecard1", "namecard2"]}
Definition nim_msglog_def.h:385
@ kNIMNotificationIdTeamLeave
退出群,{"id" : "a1","user_namecards":["namecard1", "namecard2"]}
Definition nim_msglog_def.h:375
@ kNIMNotificationIdLocalUpdateOtherNick
本地操作更新他人nickname {}
Definition nim_msglog_def.h:419
@ kNIMNotificationIdSuperTeamUpdate
超大群群信息更新,{"team_info":team_info,"user_namecards":["namecard1", "namecard2"]}
Definition nim_msglog_def.h:447
@ kNIMNotificationIdSuperTeamRemoveManager
超大群删除管理员,{"ids":["a1","a2"],"uinfos":["uinfo1", "uinfo2"]}
Definition nim_msglog_def.h:455
@ kNIMNotificationIdTeamRemoveManager
删除管理员,{"ids":["a1","a2"],"user_namecards":["namecard1", "namecard2"]}
Definition nim_msglog_def.h:387
NIMBuildingMsglogIndexesCompleteReason
构建消息索引表完成原因
Definition nim_msglog_def.h:31
@ kBuildingMsglogIndexesFullDisk
磁盘空间不足
Definition nim_msglog_def.h:39
@ kBuildingMsglogIndexesInProgress
当前正在构建中,请勿频繁操作
Definition nim_msglog_def.h:41
@ kBuildingMsglogIndexesError
构建失败
Definition nim_msglog_def.h:37
@ kBuildingMsglogIndexesCompleted
构建消息索引表完成
Definition nim_msglog_def.h:33
@ kBuildingMsglogIndexesCanceled
用户取消
Definition nim_msglog_def.h:35
void(* nim_msglog_modify_res_cb_func)(int res_code, const char *json_extension, const void *user_data)
Definition nim_msglog_def.h:184
static const char * kNIMNotificationKeyDataMute
int
Definition nim_msglog_def.h:784
void(* nim_msglog_build_msglog_indexes_complete_cb_func)(NIMBuildingMsglogIndexesCompleteReason reason, const char *error_message, const void *user_data)
Definition nim_msglog_def.h:257
static const char * kNIMTEAMMSGACKREADSUCCESSIDSKEY
string json array 群组消息标记已读成功的msg id list key
Definition nim_msglog_def.h:836
static const char * kNIMMsglogStatusChangedKeyMsgTimetag
临界的消息的时间戳
Definition nim_msglog_def.h:267
static const char * kNIMMsglogQueryJsonExtensionKeyReverse
bool,返回的消息历史排序正序(false)/逆序(true),默认为false
Definition nim_msglog_def.h:627
static const char * kNIMMsglogJsonExtKeyExcludeMsgType
array 绑定的消息要排除的类型,始终排除掉未知类型(1000)消息
Definition nim_msglog_def.h:647
void(* nim_msglog_query_thread_history_msg_cb_func)(int res_code, const char *root_msg, int total, uint64_t timestamp, const char *msgs, const void *user_data)
Definition nim_msglog_def.h:241
static const char * kNIMNotificationIdNetCallDurationKey
int64 通话时长 单位秒
Definition nim_msglog_def.h:809
void(* nim_msglog_delete_history_online_notify_cb_func)(NIMDeleteSessionHistoryMessagesNotifyInfo *info_list_head_node, int node_count, const void *user_data)
Definition nim_msglog_def.h:82
static const char * kNIMDELMSGSelfNotifyKeySessionID
string, 会话 ID
Definition nim_msglog_def.h:825
static const char * kNIMMsglogStatusChangedKeyStatus
变更后的状态
Definition nim_msglog_def.h:269
NIMMsglogSearchDirection
Definition nim_msglog_def.h:651
@ kBackward
以起始时间点为准向后搜索
Definition nim_msglog_def.h:655
@ kForward
以结束时间点为准向前搜索
Definition nim_msglog_def.h:653
void(* nim_msglog_import_prg_cb_func)(int64_t imported_count, int64_t total_count, const char *json_extension, const void *user_data)
Definition nim_msglog_def.h:194
static const char * kNIMNotificationKeyDataLeave
bool
Definition nim_msglog_def.h:782
NIMMsgLogQueryRange
Definition nim_msglog_def.h:677
@ kNIMMsgLogQueryRangeP2P
指定的个人(点对点会话)(注意:暂不支持指定多个人的检索!)
Definition nim_msglog_def.h:679
@ kNIMMsgLogQueryRangeTeam
指定的群组(注意:暂不支持指定多个群组的检索!)
Definition nim_msglog_def.h:681
@ kNIMMsgLogQueryRangeSuperTeam
指定的超大群组(注意:暂不支持指定多个群组的检索!)
Definition nim_msglog_def.h:683
@ kNIMMsgLogQueryRangeUnknown
未知(如指定个人和群组的集合)(注意:暂不支持指定个人和群组的混合检索!)
Definition nim_msglog_def.h:693
@ kNIMMsgLogQueryRangeAllSuperTeam
所有超大群组
Definition nim_msglog_def.h:691
@ kNIMMsgLogQueryRangeAll
全部
Definition nim_msglog_def.h:685
@ kNIMMsgLogQueryRangeAllP2P
所有个人会话
Definition nim_msglog_def.h:687
@ kNIMMsgLogQueryRangeAllTeam
所有群组
Definition nim_msglog_def.h:689
static const char * kNIMNotificationIdNetCallIdsKey
StrArray 帐号
Definition nim_msglog_def.h:805
LogsBackupRemoteState
Definition nim_msglog_def.h:483
@ LogsBackupRemoteState_End
定义结束
Definition nim_msglog_def.h:520
@ LogsBackupRemoteState_IMP_SyncFromSrvError
查询备份失败一般是网络错误
Definition nim_msglog_def.h:496
@ LogsBackupRemoteState_IMP_RAWError
解密/解压出来的源文件格式错误
Definition nim_msglog_def.h:500
@ LogsBackupRemoteState_IMP_DownloadBackupFailed
下载备份文件出错
Definition nim_msglog_def.h:498
@ LogsBackupRemoteState_Done
完成
Definition nim_msglog_def.h:516
@ LogsBackupRemoteState_IMP_LocalDBFailed
导入本地DB出错
Definition nim_msglog_def.h:504
@ LogsBackupRemoteState_EXP_RAWError
导出到源文件失败
Definition nim_msglog_def.h:509
@ LogsBackupRemoteState_UserCanceled
已取消
Definition nim_msglog_def.h:489
@ LogsBackupRemoteState_SDKError
SDK 已出错
Definition nim_msglog_def.h:491
@ LogsBackupRemoteState_Done_NoLogs
完成,但未导出任何记录
Definition nim_msglog_def.h:518
@ LogsBackupRemoteState_FinalState_Begin
是否已是最终状态的一个标识,可以判断state是否为终态(state >= LogsBackupRemoteState_FinalState_Begin)
Definition nim_msglog_def.h:522
@ LogsBackupRemoteState_IMP_NoBackup
没有备份文件
Definition nim_msglog_def.h:494
@ LogsBackupRemoteState_EXP_LocalDBFailed
打开本地DB失败
Definition nim_msglog_def.h:507
@ LogsBackupRemoteState_EXP_SyncToSrvError
同步到服务器出错一般是网络错误
Definition nim_msglog_def.h:513
@ LogsBackupRemoteState_EXP_UploadBackupFailed
上传备份文件出错
Definition nim_msglog_def.h:511
@ LogsBackupRemoteState_Begin
定义开始
Definition nim_msglog_def.h:485
@ LogsBackupRemoteState_IMP_ParseRAWError
解析源文件格式错误
Definition nim_msglog_def.h:502
@ LogsBackupRemoteState_UnDef
未定义
Definition nim_msglog_def.h:487
static const char * kNIMNotificationKeyDataIds
string array
Definition nim_msglog_def.h:776
static const char * kNIMMsglogQueryKeyCount
int, 查询得到的数量
Definition nim_msglog_def.h:281
static const char * kNIMMsglogStatusChangedKeyTalkID
会话ID
Definition nim_msglog_def.h:265
static const char * kNIMMsglogJsonExtKeyComposeLastMsg
bool 插入新消息若需要更新会话数据,指定是否需要绑定历史消息中的最后一条消息。true:需要,false:不需要
Definition nim_msglog_def.h:645
NIMFullTextSearchRule
全文检索排序规则
Definition nim_msglog_def.h:526
@ kNIMFullTextSearchOrderByDesc
Definition nim_msglog_def.h:526
@ kNIMFullTextSearchNoGroupBySession
Definition nim_msglog_def.h:526
@ kNIMFullTextSearchOrderByAsc
Definition nim_msglog_def.h:526
static const char * kNIMMsglogQueryKeySource
NIMMsglogQuerySource, 查询结果来源
Definition nim_msglog_def.h:283
static const char * kNIMMsglogJsonExtKeyPhysicalDelete
Definition nim_msglog_def.h:290
static const char * kNIMNotificationKeyData
json object 包含以下5种可能的数据结构
Definition nim_msglog_def.h:774
void(* nim_msglog_delete_history_online_res_cb_func)(int res_code, const char *accid, const void *user_data)
Definition nim_msglog_def.h:51
static const char * kNIMTEAMMSGACKREADSIGNOREDIDSKEY
string json array 群组消息标记已读忽略的msg id list key(消息不需要标记,或者已经标记过)
Definition nim_msglog_def.h:840
NIMMsglogSearchSegmentEngine
Definition nim_msglog_def.h:659
@ kSegmentEngineJiebaCutAll
Jieba 分词,使用全模式
Definition nim_msglog_def.h:669
@ kSegmentEngineJiebaCutHMM
Jieba 分词,使用 HMM 模型
Definition nim_msglog_def.h:673
@ kSegmentEngineJiebaCutForSearch
Jieba 分词,搜索引擎模式
Definition nim_msglog_def.h:671
@ kSegmentEngineDefault
不使用分词逻辑
Definition nim_msglog_def.h:661
@ kSegmentEngineJiebaCutWithHMM
Jieba 分词,使用 HMM 模型
Definition nim_msglog_def.h:665
@ kSegmentEngineJiebaCutWithoutHMM
Jieba 分词,不使用 HMM 模型
Definition nim_msglog_def.h:667
@ kSegmentEngineSimple
单字分词逻辑,默认
Definition nim_msglog_def.h:663
static const char * kNIMNotificationKeyDataInvalidIds
string array
Definition nim_msglog_def.h:778
void(* nim_msglog_full_text_search_online_cb_func)(int res_code, uint32_t count, const char *result, const char *json_extension, const void *user_data)
Definition nim_msglog_def.h:153
static const char * kNIMMsglogQueryKeyContent
Definition nim_msglog_def.h:284
static const char * kNIMNotificationIdNetCallTimeKey
int64 时间 单位毫秒
Definition nim_msglog_def.h:803
NIMSessionType
Definition nim_session_def.h:16
@ kNIMSessionTypeSuperTeam
超大群组
Definition nim_session_def.h:22
@ kNIMSessionTypeP2P
个人,即点对点
Definition nim_session_def.h:18
@ kNIMSessionTypeTeam
群组
Definition nim_session_def.h:20
NIM SDK 及 NIM ChatRoom SDK 公用头文件
unsigned char bool
Definition stdbool.h:25
单向删除某条消息参数
Definition nim_msglog_def.h:844
int64_t server_id
int64_t 消息的服务端id
Definition nim_msglog_def.h:852
enum NIMSessionType to_type_
enum 会话类型,双人0,群组1,超大群5 (nim_msglog_def.h)
Definition nim_msglog_def.h:846
int64_t time
int64_t 消息时间戳
Definition nim_msglog_def.h:856
删除与某一会话的历史记录推送数据定义
Definition nim_msglog_def.h:17
int64_t time
int64_t 删除操作的时间戳
Definition nim_msglog_def.h:23
enum NIMSessionType to_type
enum 会话类型,双人0,群组1,超大群5 (nim_msglog_def.h)
Definition nim_msglog_def.h:19
导出消息记录到云端参数定义
Definition nim_msglog_def.h:539
void * user_data_
APP的自定义用户数据,SDK只负责传回给回调函数,不做任何处理!
Definition nim_msglog_def.h:581
char * encrypt_key_
加密秘钥
Definition nim_msglog_def.h:554
从云端导入消息记录参数定义
Definition nim_msglog_def.h:584
void * user_data_
APP的自定义用户数据,SDK只负责传回给回调函数,不做任何处理!
Definition nim_msglog_def.h:618
云端查询某条消息参数一般用在thread聊天场景中
Definition nim_msglog_def.h:862
enum NIMSessionType to_type_
enum 会话类型,双人0,群组1,超大群5 (nim_msglog_def.h)
Definition nim_msglog_def.h:864
int64_t server_id
int64_t 消息的服务端id
Definition nim_msglog_def.h:870
int64_t time
int64_t 消息时间戳
Definition nim_msglog_def.h:874
根据关键字村云端查询消息记录的参数定义
Definition nim_msglog_def.h:751
int64_t end_time_
int64_t 结束时间点,单位:毫秒
Definition nim_msglog_def.h:759
int limit
int 本次查询的消息条数上限(最多100条)
Definition nim_msglog_def.h:755
int64_t from_time_
int64_t 起始时间点,单位:毫秒
Definition nim_msglog_def.h:757
bool reverse_
bool true:反向查询(按时间正序起查,正序排列),false:按时间逆序起查,逆序排列(建议默认为false)
Definition nim_msglog_def.h:761
enum NIMSessionType to_type_
enum 会话类型,双人0,群组1 (nim_msglog_def.h)
Definition nim_msglog_def.h:753
本地全文检索参数
Definition nim_msglog_def.h:725
const char * account_id_
要检索的会话 ID 可以为空,留空是搜索全部匹配内容
Definition nim_msglog_def.h:729
int64_t from_time_
int64_t 起始时间点,单位:毫秒
Definition nim_msglog_def.h:739
enum NIMSessionType to_type_
enum 会话类型,双人0,群组1 (nim_msglog_def.h),当 account ID 为空时忽略该参数
Definition nim_msglog_def.h:731
bool enable_pinyin_
bool 是否使用拼音检索能力,默认为 true
Definition nim_msglog_def.h:747
int limit_count_
int 本次查询的消息条数上限(最多100条)
Definition nim_msglog_def.h:737
const char * keyword_
检索关键字
Definition nim_msglog_def.h:727
enum NIMMessageType * msg_type_list_
list 要获取的消息类型
Definition nim_msglog_def.h:733
NIMMsglogSearchSegmentEngine segment_engine_
全文检索对原文的分词方式,
Definition nim_msglog_def.h:745
NIMMsglogSearchDirection direction_
查询方向,
Definition nim_msglog_def.h:743
int64_t end_time_
int64_t 结束时间点,单位:毫秒
Definition nim_msglog_def.h:741
int type_list_length_
int type list 长度
Definition nim_msglog_def.h:735
从云端导入消息记录参数定义
Definition nim_msglog_def.h:697
int limit_count_
int 本次查询的消息条数上限(最多100条)
Definition nim_msglog_def.h:701
int64_t end_msg_id_
int64_t 结束查询的最后一条消息的server_msg_id(不包含在查询结果中)
Definition nim_msglog_def.h:707
int64_t end_time_
int64_t 结束时间点,单位:毫秒
Definition nim_msglog_def.h:705
bool replace_local_message_
bool 查询结果回来后,如果 need_save_to_local_ 为 true 是否要替换本地已经存在的消息
Definition nim_msglog_def.h:713
enum NIMMessageType * msg_type_list_
list 要获取或排除掉的消息类型 由 is_exclusion_type_ 参数决定
Definition nim_msglog_def.h:717
bool need_save_to_local_
bool 将在线查询结果保存到本地,false: 不保存
Definition nim_msglog_def.h:711
int type_list_length_
int type list 长度
Definition nim_msglog_def.h:719
bool reverse_
bool true:反向查询(按时间正序起查,正序排列),false:按时间逆序起查,逆序排列(建议默认为false)
Definition nim_msglog_def.h:709
int64_t from_time_
int64_t 起始时间点,单位:毫秒
Definition nim_msglog_def.h:703
enum NIMSessionType to_type_
enum 会话类型,双人0,群组1 (nim_msglog_def.h)
Definition nim_msglog_def.h:699
bool is_exclusion_type_
bool true : 获取除msg_type_list_中指定的所有类型消息 ,false :只获取 msg_type_list_ 中指定的类型的消息
Definition nim_msglog_def.h:721
bool auto_download_attachment_
bool 查询结果回来后,是否需要sdk自动下载消息附件。true:需要,false:不需要
Definition nim_msglog_def.h:715
云端查询thread聊天历史参数
Definition nim_msglog_def.h:878
int32_t limit
int32_t 查询条数限制 缺省100
Definition nim_msglog_def.h:886
int64_t to_time
int64_t 结束时间 缺省0
Definition nim_msglog_def.h:882
int32_t reverse
int64_t 排序 缺省0 false
Definition nim_msglog_def.h:888
int64_t from_time
int64_t 起始时间 缺省0
Definition nim_msglog_def.h:880
int64_t exclude_msg_id
int64_t 截至消息的服务端id,不包含在查询结果中 缺省0
Definition nim_msglog_def.h:884