puppet-xp
puppet-xp copied to clipboard
concat.avatar() cannot be used
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
