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

added working webhooks

This commit is contained in:
Fedor Katurov 2021-04-27 17:40:42 +07:00
parent f444a7d194
commit 4076b4427d
9 changed files with 89 additions and 31 deletions

View file

@ -8,7 +8,7 @@ import { HttpApi } from "./api/http";
async function main() {
try {
const config = prepareConfig();
const telegram = new TelegramService(config.telegram);
const telegram = new TelegramService(config.telegram, config.webhook);
const vkService = new VkService(config.vk);
const telegramApi = new TelegramApi(telegram).listen();