toggle menu
Simple Robot
3.3.0
jvm
switch theme
search in API
simbot-api
/
love.forte.simbot.message
/
MessagesBuilder
/
image
image
@
JvmOverloads
fun
image
(
resource
:
Resource
,
id
:
ID
=
resource.name.ID
)
:
MessagesBuilder
(
source
)
通过
ResourceImage
拼接一个
Image
消息到当前消息中。
See also
Image.
Key.
toImage
suspend
fun
image
(
bot
:
Bot
,
id
:
ID
)
:
MessagesBuilder
(
source
)
通过
Bot.resolveImage
获取并拼接一个
Image
消息到当前消息中。
See also
Bot.
resolve
Image