Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
无法发送UrlLink类型消息
Environment:
wechaty version ^1.20.2
wechaty-puppet-wechat version ^1.18.4
How to reproduce it (as minimally and precisely as possible):
import {UrlLink,WechatyBuilder,ScanStatus,log} from 'wechaty'
...
const linkPayload = new UrlLink({
description : '欢迎收听来自:'+singer_name+"的歌曲",
thumbnailUrl: pic_url,
title : '歌曲:'+song_name,
url : usic_url,
})
msg.talker().say(linkPayload)
...
SyntaxError: The requested module 'wechaty' does not provide an export named 'UrlLink'
?[90m at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)?[39m
?[90m at async ModuleJob.run (node:internal/modules/esm/module_job:181:5)?[39m
at async Promise.all (index 0)
?[90m at async ESMLoader.import (node:internal/modules/esm/loader:281:24)?[39m
?[90m at async loadESM (node:internal/process/esm_loader:88:5)?[39m
?[90m at async handleMainPromise (node:internal/modules/run_main:65:12)?[39m
Is this a BUG REPORT or FEATURE REQUEST?: /kind bug
What happened: 无法发送UrlLink类型消息
Environment:
How to reproduce it (as minimally and precisely as possible):
我是node初学者,请问我改如何调用发送UrlLink消息