-
Notifications
You must be signed in to change notification settings - Fork 2
nim_def.msglog_def.NIMMsgLogAPI
nim_def/msglog_def.NIMMsgLogAPI
- InitEventHandlers
- QueryMsgByIDAysnc
- QueryMsgAsync
- QueryMsgOnlineAsync
- QueryMsgByKeywordOnlineAsync
- QueryMsgOfSpecifiedTypeInASessionAsync
- QueryMsgByOptionsAsync
- BatchStatusReadAsync
- BatchStatusDeleteAsync
- SetStatusAsync
- SetSubStatusAsync
- WriteMsglogToLocalAsync
- DeleteBySessionTypeAsync
- DeleteAsync
- DeleteAllAsync
- DeleteMsgByTimeAsync
- ExportDbAsync
- ImportDbAsync
- SendReceiptAsync
- QuerySentMessageBeReaded
- QueryReceivedMsgReceiptSent
- UpdateLocalExtAsync
- ReadAllAsync
- ExportBackupToRemote
- ImportBackupToRemote
- CancelImportBackupFromRemote
- CancelExportBackupToRemote
- DeleteHistoryOnlineAsync
- DeleteHistoryOnlineAsyncEx
- DeleteMessageSelfAsync
- QueryMessageIsThreadRoot
- QueryMessageOnline
- QueryThreadHistoryMsg
- FullTextSearchOnlineAsync
▸ InitEventHandlers(): void
void
ts/nim_def/msglog_def.ts:361
▸ QueryMsgByIDAysnc(clientMsgId
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
clientMsgId |
string |
cb |
null | QuerySingleMsgCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:363
▸ QueryMsgAsync(accid
, to_type
, limit_count
, anchor_msg_time
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
accid |
string |
to_type |
NIMSessionType |
limit_count |
number |
anchor_msg_time |
number |
cb |
null | QueryMsgCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:365
▸ QueryMsgOnlineAsync(param
, cb
): boolean
Name | Type |
---|---|
param |
QueryMsgOnlineAsyncParam |
cb |
null | QueryMsgCallback
|
boolean
ts/nim_def/msglog_def.ts:374
▸ QueryMsgByKeywordOnlineAsync(param
, cb
): boolean
Name | Type |
---|---|
param |
QueryMsgByKeywordOnlineParam |
cb |
null | QueryMsgCallback
|
boolean
ts/nim_def/msglog_def.ts:376
▸ QueryMsgOfSpecifiedTypeInASessionAsync(to_type
, id
, limit_count
, fromTime
, endTime
, endClientMsgId
, reverse
, msgType
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
to_type |
NIMSessionType |
id |
string |
limit_count |
number |
fromTime |
number |
endTime |
number |
endClientMsgId |
string |
reverse |
boolean |
msgType |
NIMMessageType [] |
cb |
null | QueryMsgCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:378
▸ QueryMsgByOptionsAsync(param
, cb
): boolean
Name | Type |
---|---|
param |
QueryMsgByOptionsAsyncParam |
cb |
null | QueryMsgCallback
|
boolean
ts/nim_def/msglog_def.ts:391
▸ BatchStatusReadAsync(accid
, to_type
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
accid |
string |
to_type |
NIMSessionType |
cb |
null | ModifyMultipleMsglogCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:393
▸ BatchStatusDeleteAsync(accid
, to_type
, revert_by_query_online
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
accid |
string |
to_type |
NIMSessionType |
revert_by_query_online |
boolean |
cb |
null | ModifyMultipleMsglogCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:395
▸ SetStatusAsync(msg_id
, status
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
msg_id |
string |
status |
NIMMsgLogStatus |
cb |
null | ModifySingleMsglogCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:403
▸ SetSubStatusAsync(msg_id
, status
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
msg_id |
string |
status |
NIMMsgLogSubStatus |
cb |
null | ModifySingleMsglogCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:405
▸ WriteMsglogToLocalAsync(talkId
, msg
, needUpdateSession
, composeLastMsg
, excludeMsgType
, cb
): boolean
Name | Type |
---|---|
talkId |
string |
msg |
IMMessage |
needUpdateSession |
boolean |
composeLastMsg |
boolean |
excludeMsgType |
number [] |
cb |
null | ModifySingleMsglogCallback
|
boolean
ts/nim_def/msglog_def.ts:407
▸ DeleteBySessionTypeAsync(delSessions
, to_type
, revert_by_query_online
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
delSessions |
boolean |
to_type |
NIMSessionType |
revert_by_query_online |
boolean |
cb |
null | ModifyMultipleMsglogCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:416
▸ DeleteAsync(session_id
, to_type
, msg_id
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
session_id |
string |
to_type |
NIMSessionType |
msg_id |
string |
cb |
null | ModifySingleMsglogCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:424
▸ DeleteAllAsync(del_session
, revert_by_query_online
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
del_session |
boolean |
revert_by_query_online |
boolean |
cb |
null | DBFunctionCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:426
▸ DeleteMsgByTimeAsync(session_id
, to_type
, revert_by_query_online
, timestamp1
, timestamp2
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
session_id |
string |
to_type |
NIMSessionType |
revert_by_query_online |
boolean |
timestamp1 |
number |
timestamp2 |
number |
cb |
null | DBFunctionCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:428
▸ ExportDbAsync(dst_path
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
dst_path |
string |
cb |
null | DBFunctionCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:438
▸ ImportDbAsync(src_path
, db_cb
, prg_cb
, jsonExtension
): boolean
Name | Type |
---|---|
src_path |
string |
db_cb |
DBFunctionCallback |
prg_cb |
null | ImportDbPrgCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:440
▸ SendReceiptAsync(msg
, cb
): void
Name | Type |
---|---|
msg |
IMMessage |
cb |
null | MessageStatusChangedCallback
|
void
ts/nim_def/msglog_def.ts:442
▸ QuerySentMessageBeReaded(msg
): boolean
Name | Type |
---|---|
msg |
IMMessage |
boolean
ts/nim_def/msglog_def.ts:444
▸ QueryReceivedMsgReceiptSent(msg
): boolean
Name | Type |
---|---|
msg |
IMMessage |
boolean
ts/nim_def/msglog_def.ts:446
▸ UpdateLocalExtAsync(msg_id
, local_ext
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
msg_id |
string |
local_ext |
string |
cb |
null | ModifySingleMsglogCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:448
▸ ReadAllAsync(cb
, jsonExtension
): boolean
Name | Type |
---|---|
cb |
null | DBFunctionCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:450
▸ ExportBackupToRemote(export_info
): boolean
Name | Type |
---|---|
export_info |
LogsBackupExportInfo |
boolean
ts/nim_def/msglog_def.ts:452
▸ ImportBackupToRemote(export_info
): boolean
Name | Type |
---|---|
export_info |
LogsBackupImportInfo |
boolean
ts/nim_def/msglog_def.ts:454
▸ CancelImportBackupFromRemote(): void
void
ts/nim_def/msglog_def.ts:456
▸ CancelExportBackupToRemote(): void
void
ts/nim_def/msglog_def.ts:458
▸ DeleteHistoryOnlineAsync(accid
, delete_roaming
, jsonExtension
, cb
): void
Name | Type |
---|---|
accid |
string |
delete_roaming |
boolean |
jsonExtension |
string |
cb |
null | DeleteHistoryOnLineAsyncExCallback
|
void
ts/nim_def/msglog_def.ts:460
▸ DeleteHistoryOnlineAsyncEx(accid
, to_type
, needs_notify_self
, jsonExtension
, cb
): void
Name | Type |
---|---|
accid |
string |
to_type |
number |
needs_notify_self |
boolean |
jsonExtension |
string |
cb |
null | DeleteHistoryOnLineAsyncExCallback
|
void
ts/nim_def/msglog_def.ts:462
▸ DeleteMessageSelfAsync(msg
, ext
, cb
): void
Name | Type |
---|---|
msg |
IMMessage |
ext |
string |
cb |
null | DeleteMessageSelfAsyncCallback
|
void
ts/nim_def/msglog_def.ts:470
▸ QueryMessageIsThreadRoot(client_id
, cb
): void
Name | Type |
---|---|
client_id |
string |
cb |
null | QueryMessageIsThreadRootCallback
|
void
ts/nim_def/msglog_def.ts:472
▸ QueryMessageOnline(param
, cb
): void
Name | Type |
---|---|
param |
QueryMsgAsyncParam |
cb |
null | QueryMessageOnlineCallback
|
void
ts/nim_def/msglog_def.ts:474
▸ QueryThreadHistoryMsg(msg
, param
, cb
): void
Name | Type |
---|---|
msg |
IMMessage |
param |
QueryThreadHistoryMsgAsyncParam |
cb |
null | QueryThreadHistoryMsgCallback
|
void
ts/nim_def/msglog_def.ts:476
▸ FullTextSearchOnlineAsync(param
, cb
): void
Name | Type |
---|---|
param |
FullTextSearchOnlineAsyncParam |
cb |
null | FullTextSearchOnlineAsyncCallback
|
void
ts/nim_def/msglog_def.ts:478
- chatroom/chatroom
- chatroom_def/chatroom_def
- nim/client
- nim/data_sync
- nim/friend
- nim/global
- nim/msglog
- nim/nos
- nim/online_session
- nim/pass_through_proxy
- nim/plugin
- nim/session
- nim/subscribe_event
- nim/super_team
- nim/sysmsg
- nim/talk
- nim/talkex
- nim/team
- nim/tool
- nim/user
- nim_def/client_def
- nim_def/data_sync_def
- nim_def/doc_trans_def
- nim_def/friend_def
- nim_def/global_def
- nim_def/msglog_def
- nim_def/nos_def
- nim_def/online_session_def
- nim_def/pass_through_proxy_def
- nim_def/plugin_def
- nim_def/session_def
- nim_def/subscribe_event_def
- nim_def/super_team_def
- nim_def/sysmsg_def
- nim_def/talk_def
- nim_def/talkex_def
- nim_def/team_def
- nim_def/tool_def
- nim_def/user_def
- node-nim
- qchat/attachment
- qchat/channel
- qchat/channel_category
- qchat/instance
- qchat/message
- qchat/role
- qchat/server
- qchat/system_notification
- qchat_def/attachment_def
- qchat_def/channel_def
- qchat_def/instance_def
- qchat_def/message_def
- qchat_def/public_def
- qchat_def/role_def
- qchat_def/server_def
- qchat_def/system_notification_def