toggle menu
Simple Robot 组件 | KOOK
4.0.1
common
switch theme
search in API
simbot-component-kook-api
/
love.forte.simbot.kook.api.message
/
SendChannelMessageApi
/
Factory
Factory
object
Factory
(
source
)
Members
Functions
builder
Link copied to clipboard
@
JvmStatic
fun
builder
(
)
:
SendChannelMessageApi.Builder
@
JvmStatic
fun
builder
(
targetId
:
String
,
content
:
String
)
:
SendChannelMessageApi.Builder
构建
发送频道聊天消息
构建器。
create
Link copied to clipboard
inline
fun
create
(
block
:
SendChannelMessageApi.Builder
.
(
)
->
Unit
)
:
SendChannelMessageApi
构建
发送频道聊天消息
实例。
@
JvmStatic
@
JvmOverloads
fun
create
(
type
:
Int
?
=
null
,
targetId
:
String
,
content
:
String
)
:
SendChannelMessageApi
@
JvmStatic
fun
create
(
type
:
Int
?
=
null
,
targetId
:
String
,
content
:
String
,
quote
:
String
?
=
null
,
nonce
:
String
?
=
null
,
tempTargetId
:
String
?
=
null
)
:
SendChannelMessageApi
构造
发送频道聊天消息
实例。