1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-25 23:16:41 +07:00

added webhook parser

This commit is contained in:
Fedor Katurov 2021-04-26 12:25:07 +07:00
parent 9433cc327a
commit 87da9078fe
7 changed files with 32 additions and 20 deletions

View file

@ -14,7 +14,12 @@ async function main() {
const telegramApi = new TelegramApi(telegram).listen();
await telegram.start();
const httpApi = new HttpApi(config.http, telegram, vkService).listen();
const httpApi = new HttpApi(
config.http,
telegram,
vkService,
config.webhook
).listen();
} catch (e) {
logger.error(e.message);
}