前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
Created by: huan
We should be able to set profile photo for the login-ed user by:
const userSelf = wechaty.userSelf() const image = FileBox.fromFile('/tmp/icon.png') await userSelf.avatar(image)