Closed MrNagaron closed 5 years ago
const {VK} = require('vk-io');
const vk = new VK({
token: 'tokens'
});
vk.updates.start();
vk.updates.hear('/start', async (context, next) => {
await context.send('Hello!');
});
Можно ли пример как использовать User Long Poll?
Здравствуйте, хотел использовать https://github.com/negezor/vk-io/blob/83c59f63becd5bd5ce19688f64f0a56e7598513d/Upgrade-RU.md#simple-bot Но мне выдаёт ошибку
Node v10.16.2