-
Notifications
You must be signed in to change notification settings - Fork 2
qchat.channel_category.QChatChannelCategoryModule
qchat/channel_category.QChatChannelCategoryModule
-
EventEmitter
<QChatChannelCategoryEvents
>↳
QChatChannelCategoryModule
- eventNames
- listeners
- listenerCount
- emit
- on
- addListener
- once
- removeListener
- off
- removeAllListeners
- initEventHandlers
- createChannelCategory
- updateChannelCategory
- removeChannelCategory
- getChannelCategoriesByID
- getChannelCategoriesPage
- getChannelCategoryChannelsPage
- updateChannelCategoryWhiteBlackRole
- getExistingChannelCategoryWhiteBlackRoles
- getChannelCategoryWhiteBlackRolesPage
- updateChannelCategoryWhiteBlackMembers
- getExistingChannelCategoryWhiteBlackMembers
- getChannelCategoryWhiteBlackMembersPage
▸ eventNames(): never
[]
Return an array listing the events for which the emitter has registered listeners.
never
[]
EventEmitter.eventNames
node_modules/eventemitter3/index.d.ts:15
▸ listeners<T
>(event
): (...args
: ArgumentMap
<QChatChannelCategoryEvents
>[Extract
<T
, never
>]) => void
[]
Return the listeners registered for a given event.
Name | Type |
---|---|
T |
extends never
|
Name | Type |
---|---|
event |
T |
(...args
: ArgumentMap
<QChatChannelCategoryEvents
>[Extract
<T
, never
>]) => void
[]
EventEmitter.listeners
node_modules/eventemitter3/index.d.ts:20
▸ listenerCount(event
): number
Return the number of listeners listening to a given event.
Name | Type |
---|---|
event |
never |
number
EventEmitter.listenerCount
node_modules/eventemitter3/index.d.ts:27
▸ emit<T
>(event
, ...args
): boolean
Calls each of the listeners registered for a given event.
Name | Type |
---|---|
T |
extends never
|
Name | Type |
---|---|
event |
T |
...args |
ArgumentMap <QChatChannelCategoryEvents >[Extract <T , never >] |
boolean
EventEmitter.emit
node_modules/eventemitter3/index.d.ts:32
▸ on<T
>(event
, fn
, context?
): QChatChannelCategoryModule
Add a listener for a given event.
Name | Type |
---|---|
T |
extends never
|
Name | Type |
---|---|
event |
T |
fn |
(...args : ArgumentMap <QChatChannelCategoryEvents >[Extract <T , never >]) => void
|
context? |
any |
EventEmitter.on
node_modules/eventemitter3/index.d.ts:40
▸ addListener<T
>(event
, fn
, context?
): QChatChannelCategoryModule
Name | Type |
---|---|
T |
extends never
|
Name | Type |
---|---|
event |
T |
fn |
(...args : ArgumentMap <QChatChannelCategoryEvents >[Extract <T , never >]) => void
|
context? |
any |
EventEmitter.addListener
node_modules/eventemitter3/index.d.ts:45
▸ once<T
>(event
, fn
, context?
): QChatChannelCategoryModule
Add a one-time listener for a given event.
Name | Type |
---|---|
T |
extends never
|
Name | Type |
---|---|
event |
T |
fn |
(...args : ArgumentMap <QChatChannelCategoryEvents >[Extract <T , never >]) => void
|
context? |
any |
EventEmitter.once
node_modules/eventemitter3/index.d.ts:54
▸ removeListener<T
>(event
, fn?
, context?
, once?
): QChatChannelCategoryModule
Remove the listeners of a given event.
Name | Type |
---|---|
T |
extends never
|
Name | Type |
---|---|
event |
T |
fn? |
(...args : ArgumentMap <QChatChannelCategoryEvents >[Extract <T , never >]) => void
|
context? |
any |
once? |
boolean |
EventEmitter.removeListener
node_modules/eventemitter3/index.d.ts:63
▸ off<T
>(event
, fn?
, context?
, once?
): QChatChannelCategoryModule
Name | Type |
---|---|
T |
extends never
|
Name | Type |
---|---|
event |
T |
fn? |
(...args : ArgumentMap <QChatChannelCategoryEvents >[Extract <T , never >]) => void
|
context? |
any |
once? |
boolean |
EventEmitter.off
node_modules/eventemitter3/index.d.ts:69
▸ removeAllListeners(event?
): QChatChannelCategoryModule
Remove all listeners, or those of the specified event.
Name | Type |
---|---|
event? |
undefined |
EventEmitter.removeAllListeners
node_modules/eventemitter3/index.d.ts:79
▸ initEventHandlers(): void
注册全局回调
void
ts/qchat/channel_category.ts:39
▸ createChannelCategory(param
): Promise
<QChatChannelCategoryCreateResp
>
Fn
createChannelCategory(param: QChatChannelCategoryCreateParam) 创建频道分组 @param[in] param 接口参数
Name | Type |
---|---|
param |
QChatChannelCategoryCreateParam |
Promise
<QChatChannelCategoryCreateResp
>
void
ts/qchat/channel_category.ts:47
▸ updateChannelCategory(param
): Promise
<QChatChannelCategoryCreateResp
>
Fn
updateChannelCategory(param: QChatChannelCategoryUpdateParam) 更新频道分组 @param[in] param 接口参数
Name | Type |
---|---|
param |
QChatChannelCategoryUpdateParam |
Promise
<QChatChannelCategoryCreateResp
>
void
ts/qchat/channel_category.ts:62
▸ removeChannelCategory(param
): Promise
<QChatBaseResp
>
Fn
removeChannelCategory(param: QChatChannelCategoryRemoveParam) 删除频道分组 @param[in] param 接口参数
Name | Type |
---|---|
param |
QChatChannelCategoryRemoveParam |
Promise
<QChatBaseResp
>
void
ts/qchat/channel_category.ts:77
▸ getChannelCategoriesByID(param
): Promise
<QChatChannelGetCategoriesByIDResp
>
Fn
getChannelCategoriesByID(param: QChatChannelGetCategoriesByIDParam) 根据分组ID查询频道分组 @param[in] param 接口参数
Name | Type |
---|---|
param |
QChatChannelGetCategoriesByIDParam |
Promise
<QChatChannelGetCategoriesByIDResp
>
void
ts/qchat/channel_category.ts:92
▸ getChannelCategoriesPage(param
): Promise
<QChatChannelGetCategoriesPageResp
>
Fn
getChannelCategoriesPage(param: QChatChannelGetCategoriesPageParam) 查询频道分组列表(分页) @param[in] param 接口参数
Name | Type |
---|---|
param |
QChatChannelGetCategoriesPageParam |
Promise
<QChatChannelGetCategoriesPageResp
>
void
ts/qchat/channel_category.ts:107
▸ getChannelCategoryChannelsPage(param
): Promise
<QChatChannelGetChannelsPageResp
>
Fn
getChannelCategoryChannelsPage(param: QChatChannelGetCategoryChannelsPageParam) 查询频道分组下频道列表(分页) @param[in] param 接口参数
Name | Type |
---|---|
param |
QChatChannelGetCategoryChannelsPageParam |
Promise
<QChatChannelGetChannelsPageResp
>
void
ts/qchat/channel_category.ts:122
▸ updateChannelCategoryWhiteBlackRole(param
): Promise
<QChatBaseResp
>
Fn
updateChannelCategoryWhiteBlackRole(param: QChatChannelCategoryUpdateWhiteBlackRoleParam) 更新频道分组白/黑名单身份组 @param[in] param 接口参数
Name | Type |
---|---|
param |
QChatChannelCategoryUpdateWhiteBlackRoleParam |
Promise
<QChatBaseResp
>
void
ts/qchat/channel_category.ts:137
▸ getExistingChannelCategoryWhiteBlackRoles(param
): Promise
<QChatChannelCategoryGetExistingWhiteBlackRolesResp
>
Fn
getExistingChannelCategoryWhiteBlackRoles(param: QChatChannelCategoryGetExistingWhiteBlackRolesParam) 根据身份组ID查询频道分组白/黑名单身份组列表 @param[in] param 接口参数
Name | Type |
---|---|
param |
QChatChannelCategoryGetExistingWhiteBlackRolesParam |
Promise
<QChatChannelCategoryGetExistingWhiteBlackRolesResp
>
void
ts/qchat/channel_category.ts:152
▸ getChannelCategoryWhiteBlackRolesPage(param
): Promise
<QChatChannelCategoryGetWhiteBlackRolesPageResp
>
Fn
getChannelCategoryWhiteBlackRolesPage(param: QChatChannelCategoryGetWhiteBlackRolesPageParam) 查询频道分组白/黑名单身份组列表(分页) @param[in] param 接口参数
Name | Type |
---|---|
param |
QChatChannelCategoryGetWhiteBlackRolesPageParam |
Promise
<QChatChannelCategoryGetWhiteBlackRolesPageResp
>
void
ts/qchat/channel_category.ts:169
▸ updateChannelCategoryWhiteBlackMembers(param
): Promise
<QChatBaseResp
>
Fn
updateChannelCategoryWhiteBlackMembers(param: QChatChannelCategoryUpdateWhiteBlackMembersParam) 更新频道分组白/黑名单成员 @param[in] param 接口参数
Name | Type |
---|---|
param |
QChatChannelCategoryUpdateWhiteBlackMembersParam |
Promise
<QChatBaseResp
>
void
ts/qchat/channel_category.ts:184
▸ getExistingChannelCategoryWhiteBlackMembers(param
): Promise
<QChatChannelCategoryGetExistingWhiteBlackMembersResp
>
Fn
getExistingChannelCategoryWhiteBlackMembers(param: QChatChannelCategoryGetExistingWhiteBlackMembersParam) 根据成员ID查询频道分组白/黑名单成员列表 @param[in] param 接口参数
Name | Type |
---|---|
param |
QChatChannelCategoryGetExistingWhiteBlackMembersParam |
Promise
<QChatChannelCategoryGetExistingWhiteBlackMembersResp
>
void
ts/qchat/channel_category.ts:199
▸ getChannelCategoryWhiteBlackMembersPage(param
): Promise
<QChatChannelCategoryGetWhiteBlackMembersPageResp
>
Fn
getChannelCategoryWhiteBlackMembersPage(param: QChatChannelCategoryGetWhiteBlackMembersPageParam) 查询频道分组白/黑名单成员列表(分页) @param[in] param 接口参数
Name | Type |
---|---|
param |
QChatChannelCategoryGetWhiteBlackMembersPageParam |
Promise
<QChatChannelCategoryGetWhiteBlackMembersPageResp
>
void
ts/qchat/channel_category.ts:216
• instance: any
ts/qchat/channel_category.ts:33
• new QChatChannelCategoryModule()
EventEmitter<QChatChannelCategoryEvents>.constructor
ts/qchat/channel_category.ts:34
- 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