• 生成卡片 XML 消息模版

    Parameters

    Returns string

    Example

    msg.reply([
    Message.Xml(
    template.card({
    type: "bilibili",
    url: "https://www.bilibili.com/video/BV1bs411b7aE",
    cover:
    "https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/meme/love-er-ci-yuan-is-sick.jpg",
    summary: "咱是摘要", // 从前有座山...
    title: "咱是标题", // 震惊,xxx!
    brief: "咱是简介", // QQ小程序[哔哩哔哩]
    })
    )
    ]);

Generated using TypeDoc