-
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
- GetMessagesDynamically
- 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:374
▸ QueryMsgByIDAysnc(clientMsgId
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
clientMsgId |
string |
cb |
null | QuerySingleMsgCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:376
▸ 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:378
▸ GetMessagesDynamically(session_id
, to_type
, from_time
, to_time
, limit_count
, anchor_client_msg_id
, anchor_server_msg_id
, direction
, cb
, jsonExtension
): void
Name | Type |
---|---|
session_id |
string |
to_type |
NIMSessionType |
from_time |
number |
to_time |
number |
limit_count |
number |
anchor_client_msg_id |
string |
anchor_server_msg_id |
number |
direction |
NIMMsglogSearchDirection |
cb |
null | GetMessagesDynamicallyCallback
|
jsonExtension |
string |
void
ts/nim_def/msglog_def.ts:387
▸ QueryMsgOnlineAsync(param
, cb
): boolean
Name | Type |
---|---|
param |
QueryMsgOnlineAsyncParam |
cb |
null | QueryMsgCallback
|
boolean
ts/nim_def/msglog_def.ts:400
▸ QueryMsgByKeywordOnlineAsync(param
, cb
): boolean
Name | Type |
---|---|
param |
QueryMsgByKeywordOnlineParam |
cb |
null | QueryMsgCallback
|
boolean
ts/nim_def/msglog_def.ts:402
▸ 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:404
▸ QueryMsgByOptionsAsync(param
, cb
): boolean
Name | Type |
---|---|
param |
QueryMsgByOptionsAsyncParam |
cb |
null | QueryMsgCallback
|
boolean
ts/nim_def/msglog_def.ts:417
▸ 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:419
▸ 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:421
▸ 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:429
▸ 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:431
▸ 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:433
▸ 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:442
▸ 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:450
▸ 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:452
▸ 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:454
▸ ExportDbAsync(dst_path
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
dst_path |
string |
cb |
null | DBFunctionCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:464
▸ 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:466
▸ SendReceiptAsync(msg
, cb
): void
Name | Type |
---|---|
msg |
IMMessage |
cb |
null | MessageStatusChangedCallback
|
void
ts/nim_def/msglog_def.ts:468
▸ QuerySentMessageBeReaded(msg
): boolean
Name | Type |
---|---|
msg |
IMMessage |
boolean
ts/nim_def/msglog_def.ts:470
▸ QueryReceivedMsgReceiptSent(msg
): boolean
Name | Type |
---|---|
msg |
IMMessage |
boolean
ts/nim_def/msglog_def.ts:472
▸ 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:474
▸ ReadAllAsync(cb
, jsonExtension
): boolean
Name | Type |
---|---|
cb |
null | DBFunctionCallback
|
jsonExtension |
string |
boolean
ts/nim_def/msglog_def.ts:476
▸ ExportBackupToRemote(export_info
): boolean
Name | Type |
---|---|
export_info |
LogsBackupExportInfo |
boolean
ts/nim_def/msglog_def.ts:478
▸ ImportBackupToRemote(export_info
): boolean
Name | Type |
---|---|
export_info |
LogsBackupImportInfo |
boolean
ts/nim_def/msglog_def.ts:480
▸ CancelImportBackupFromRemote(): void
void
ts/nim_def/msglog_def.ts:482
▸ CancelExportBackupToRemote(): void
void
ts/nim_def/msglog_def.ts:484
▸ 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:486
▸ 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:488
▸ DeleteMessageSelfAsync(msg
, ext
, cb
): void
Name | Type |
---|---|
msg |
IMMessage |
ext |
string |
cb |
null | DeleteMessageSelfAsyncCallback
|
void
ts/nim_def/msglog_def.ts:496
▸ QueryMessageIsThreadRoot(client_id
, cb
): void
Name | Type |
---|---|
client_id |
string |
cb |
null | QueryMessageIsThreadRootCallback
|
void
ts/nim_def/msglog_def.ts:498
▸ QueryMessageOnline(param
, cb
): void
Name | Type |
---|---|
param |
QueryMsgAsyncParam |
cb |
null | QueryMessageOnlineCallback
|
void
ts/nim_def/msglog_def.ts:500
▸ QueryThreadHistoryMsg(msg
, param
, cb
): void
Name | Type |
---|---|
msg |
IMMessage |
param |
QueryThreadHistoryMsgAsyncParam |
cb |
null | QueryThreadHistoryMsgCallback
|
void
ts/nim_def/msglog_def.ts:502
▸ FullTextSearchOnlineAsync(param
, cb
): void
Name | Type |
---|---|
param |
FullTextSearchOnlineAsyncParam |
cb |
null | FullTextSearchOnlineAsyncCallback
|
void
ts/nim_def/msglog_def.ts:504
- 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