Skip to content

can_send_image ​

检查当前在线 Bot 是否具备图片发送能力。

调用方式 ​

js
const result = await api.can_send_image(self_id)

参数 ​

参数类型必填说明
self_idnumber是在线 Bot QQ 号

返回值 ​

js
{ yes: true }

当前返回值:Android 为 true,Linux 为 false。

Linux 的能力标志未覆盖所有图片接口;具体支持范围见对应上传或发送接口。

萌卡 · 自托管 QQ 机器人框架