getting-started icon indicating copy to clipboard operation
getting-started copied to clipboard

Many examples are a few years old and report errors, is there an updated example

Open brotherbear2008 opened this issue 3 years ago • 2 comments

I'm currently trying to send various types of messages, and I can't find the UrlLink class, so I don't know how to refer to it.

brotherbear2008 avatar Dec 01 '21 08:12 brotherbear2008

const wechaty = WechatyBuilder.build()
const urlLink = wechaty.UrlLink.create('https://wechaty.js.org')

All Wechaty User Module (WUM) follow the above pattern.

I'd like to accept PRs to fix the example code by updating them to satisfy the latest API.

huan avatar Dec 01 '21 12:12 huan

ok

brotherbear2008 avatar Dec 02 '21 01:12 brotherbear2008