sendMsg
约 73 字小于 1 分钟
2025-10-13
Karin API Docs / sendMsg
函数: sendMsg()
sendMsg(
selfId
,contact
,elements
,options
):Promise
<SendMsgResults
>
定义于: packages/core/src/service/bot.ts:241
发送主动消息
参数
selfId
string
Bot的id
contact
目标信息
elements
消息内容
options
SendMsgOptions
= ...
消息选项
返回
Promise
<SendMsgResults
>