Interface FlashImage

闪照消息

interface FlashImage {
    imageId: null | string;
    path: null | string;
    type: "FlashImage";
    url: null | string;
}

Hierarchy

  • BaseSingleMessage
    • FlashImage

Properties

Properties

imageId: null | string

图片的imageId,群图片与好友图片格式不同。不为空时将忽略url属性

path: null | string

图片的路径,发送本地图片,相对路径于 data/net.mamoe.mirai-api-http/images

type: "FlashImage"
url: null | string

图片的URL,发送时可作网络图片的链接;接收时为腾讯图片服务器的链接,可用于图片下载

Generated using TypeDoc