How to attach a photo from the website document VK-IO?

You need to get a photo from the site:
https://mc-heads.net/skin/MrZillaGold
And attach it to the message with the same extension.
Use vk-io
March 19th 20 at 08:23
1 answer
March 19th 20 at 08:25
Solution
context.sendDocument({
 value: 'https://mc-heads.net/skin/MrZillaGold',
 filename: 'skin.png'
});

Find more questions by tags VKontakteJavaScript