-
Notifications
You must be signed in to change notification settings - Fork 2
nim_def.session_def.NIMSessionAPI
nim_def/session_def.NIMSessionAPI
- InitEventHandlers
- QueryStickTopSessionList
- SetToStickTopSession
- UpdateToStickTopSession
- CancelToStickTopSession
- QueryLastFewSessionAsync
- QueryAllRecentSessionAsync
- DeleteRecentSession
- DeleteAllRecentSession
- DeleteSessionRoamingMessage
- SetUnreadCountZeroAsync
- SetMultiUnreadCountZeroAsync
- SetSessionTop
- SetSessionExtendData
- SetAllUnreadCountZeroAsync
- QuerySessionDataById
- QueryHasmoreRoammsg
- QueryAllHasmoreRoammsg
- UpdateHasmoreRoammsg
- DeleteHasmoreRoammsg
▸ InitEventHandlers(): void
void
ts/nim_def/session_def.ts:105
▸ QueryStickTopSessionList(cb
): void
Name | Type |
---|---|
cb |
null | QueryStickTopSessionListCallback
|
void
ts/nim_def/session_def.ts:107
▸ SetToStickTopSession(session_id
, to_type
, ext
, cb
): void
Name | Type |
---|---|
session_id |
string |
to_type |
number |
ext |
string |
cb |
null | SetToStickTopSessionCallback
|
void
ts/nim_def/session_def.ts:109
▸ UpdateToStickTopSession(session_id
, to_type
, ext
, cb
): void
Name | Type |
---|---|
session_id |
string |
to_type |
number |
ext |
string |
cb |
null | UpdateStickTopSessionCallback
|
void
ts/nim_def/session_def.ts:111
▸ CancelToStickTopSession(session_id
, to_type
, cb
): void
Name | Type |
---|---|
session_id |
string |
to_type |
number |
cb |
null | CancelToStickTopSessionCallback
|
void
ts/nim_def/session_def.ts:113
▸ QueryLastFewSessionAsync(limit
, cb
, jsonExtension
): void
Name | Type |
---|---|
limit |
number |
cb |
null | QuerySessionListCallback
|
jsonExtension |
string |
void
ts/nim_def/session_def.ts:115
▸ QueryAllRecentSessionAsync(msg_excluded_type_list
, cb
, jsonExtension
): void
Name | Type |
---|---|
msg_excluded_type_list |
NIMMessageType [] |
cb |
null | QuerySessionListCallback
|
jsonExtension |
string |
void
ts/nim_def/session_def.ts:117
▸ DeleteRecentSession(type
, id
, cb
, delete_roaming
): void
Name | Type |
---|---|
type |
NIMSessionType |
id |
string |
cb |
null | SessionChangeCallback
|
delete_roaming |
boolean |
void
ts/nim_def/session_def.ts:119
▸ DeleteAllRecentSession(cb
, jsonExtension
): void
Name | Type |
---|---|
cb |
null | SessionChangeCallback
|
jsonExtension |
string |
void
ts/nim_def/session_def.ts:121
▸ DeleteSessionRoamingMessage(to_type
, session_id
, cb
, ext
): boolean
Name | Type |
---|---|
to_type |
number |
session_id |
string |
cb |
null | DeleteSessionRoamingMessageCallback
|
ext |
string |
boolean
ts/nim_def/session_def.ts:123
▸ SetUnreadCountZeroAsync(type
, id
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
type |
NIMSessionType |
id |
string |
cb |
null | SessionChangeCallback
|
jsonExtension |
string |
boolean
ts/nim_def/session_def.ts:125
▸ SetMultiUnreadCountZeroAsync(is_super_team
, zero_list
, cb
): boolean
Name | Type |
---|---|
is_super_team |
boolean |
zero_list |
MultiUnreadCountZeroInfo [] |
cb |
null | SetMultiUnreadCountZeroAsyncCallback
|
boolean
ts/nim_def/session_def.ts:127
▸ SetSessionTop(type
, id
, top
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
type |
NIMSessionType |
id |
string |
top |
boolean |
cb |
null | SessionChangeCallback
|
jsonExtension |
string |
boolean
ts/nim_def/session_def.ts:129
▸ SetSessionExtendData(type
, id
, data
, cb
, jsonExtension
): boolean
Name | Type |
---|---|
type |
NIMSessionType |
id |
string |
data |
string |
cb |
null | SessionChangeCallback
|
jsonExtension |
string |
boolean
ts/nim_def/session_def.ts:131
▸ SetAllUnreadCountZeroAsync(cb
, jsonExtension
): boolean
Name | Type |
---|---|
cb |
null | SessionChangeCallback
|
jsonExtension |
string |
boolean
ts/nim_def/session_def.ts:133
▸ QuerySessionDataById(type
, id
, cb
, jsonExtension
): void
Name | Type |
---|---|
type |
NIMSessionType |
id |
string |
cb |
null | QuerySessionDataCallback
|
jsonExtension |
string |
void
ts/nim_def/session_def.ts:135
▸ QueryHasmoreRoammsg(session_id
, to_type
, cb
): void
Name | Type |
---|---|
session_id |
string |
to_type |
number |
cb |
null | QueryHasmoreRoammsgCallback
|
void
ts/nim_def/session_def.ts:137
▸ QueryAllHasmoreRoammsg(cb
): void
Name | Type |
---|---|
cb |
null | QueryAllHasmoreRoammsgCallback
|
void
ts/nim_def/session_def.ts:139
▸ UpdateHasmoreRoammsg(msg
, cb
): void
Name | Type |
---|---|
msg |
IMMessage |
cb |
null | UpdateHasmoreRoammsgCallback
|
void
ts/nim_def/session_def.ts:141
▸ DeleteHasmoreRoammsg(session_id
, to_type
, cb
): void
Name | Type |
---|---|
session_id |
string |
to_type |
NIMSessionType |
cb |
null | DeleteHasmoreRoammsgCallback
|
void
ts/nim_def/session_def.ts:143
- 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