puppet-xp icon indicating copy to clipboard operation
puppet-xp copied to clipboard

concat.avatar() cannot be used

Open moweixuanshou opened this issue 3 years ago • 0 comments

    async contactAvatar(contactId, file) {
        wechaty_puppet_1.log.verbose('PuppetXp', 'contactAvatar(%s)', contactId);
        /**
       * 1. set
       */
        if (file) {
            return;
        }
        /**
       * 2. get
       */
        const WECHATY_ICON_PNG = path_1.default.resolve('../../docs/images/wechaty-icon.png');
        return file_box_1.FileBox.fromFile(WECHATY_ICON_PNG);
    }

When I call this API, I get the following error image

moweixuanshou avatar Mar 12 '22 17:03 moweixuanshou