Preparing search index...
The search index is not available
@icqqjs/icqq
@icqqjs/icqq
Channel
Class Channel
子频道
Index
Constructors
constructor
Properties
channel_
id
channel_
name
channel_
type
guild
notify_
type
Accessors
c
Methods
_renew
recall
Msg
send
Msg
share
Music
share
Url
Constructors
constructor
new
Channel
(
guild
,
channel_id
)
:
Channel
Parameters
guild
:
Guild
channel_id
:
string
Returns
Channel
Properties
Readonly
channel_
id
channel_
id
:
string
channel_
name
channel_
name
:
string
= ""
子频道名
channel_
type
channel_
type
:
ChannelType
= ChannelType.Unknown
频道类型
Readonly
guild
guild
:
Guild
notify_
type
notify_
type
:
NotifyType
= NotifyType.Unknown
通知类型
Accessors
c
get
c
(
)
:
Client
Returns
Client
Methods
_renew
_renew
(
channel_name
,
notify_type
,
channel_type
)
:
void
Parameters
channel_name
:
string
notify_type
:
NotifyType
channel_type
:
ChannelType
Returns
void
recall
Msg
recall
Msg
(
seq
)
:
Promise
<
boolean
>
撤回频道消息
Parameters
seq
:
number
Returns
Promise
<
boolean
>
send
Msg
send
Msg
(
content
)
:
Promise
<
GuildMessageRet
>
发送频道消息 暂时仅支持发送: 文本、AT、表情
Parameters
content
:
Sendable
Returns
Promise
<
GuildMessageRet
>
share
Music
share
Music
(
platform
,
id
)
:
Promise
<
void
>
发送音乐分享
Parameters
platform
:
MusicPlatform
id
:
string
Returns
Promise
<
void
>
share
Url
share
Url
(
content
,
config
?
)
:
Promise
<
void
>
发送网址分享
Parameters
content
:
ShareContent
Optional
config
:
ShareConfig
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
channel_
id
channel_
name
channel_
type
guild
notify_
type
Accessors
c
Methods
_renew
recall
Msg
send
Msg
share
Music
share
Url
@icqqjs/icqq
Loading...
子频道