Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !async function(){
- let VK = require('vk-io');
- let vk = new VK({token:process.argv[2]});
- console.log(await vk.api.users.get());
- let doc_upload_response = await vk.upload.graffiti({source:process.argv[3]});
- console.log(doc_upload_response.preview.graffiti.src);
- }();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement