@kaguyajs/trss-yunzai-types
Preparing search index...
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
:
Guild
,
channel_id
:
string
)
:
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
频道类型
Readonly
guild
guild
:
Guild
notify_
type
notify_type
:
NotifyType
通知类型
Accessors
c
get
c
()
:
icqq
.
Client
Returns
icqq
.
Client
Methods
_
renew
_renew
(
channel_name
:
string
,
notify_type
:
NotifyType
,
channel_type
:
ChannelType
,
)
:
void
Parameters
channel_name
:
string
notify_type
:
NotifyType
channel_type
:
ChannelType
Returns
void
recall
Msg
recallMsg
(
seq
:
number
)
:
Promise
<
boolean
>
撤回频道消息
Parameters
seq
:
number
Returns
Promise
<
boolean
>
send
Msg
sendMsg
(
content
:
Sendable
)
:
Promise
<
GuildMessageRet
>
发送频道消息 暂时仅支持发送: 文本、AT、表情
Parameters
content
:
Sendable
Returns
Promise
<
GuildMessageRet
>
share
Music
shareMusic
(
platform
:
MusicPlatform
,
id
:
string
)
:
Promise
<
void
>
发送音乐分享
Parameters
platform
:
MusicPlatform
id
:
string
Returns
Promise
<
void
>
share
Url
shareUrl
(
content
:
ShareContent
,
config
?:
ShareConfig
)
:
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
@kaguyajs/trss-yunzai-types
Loading...
子频道