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:
parent
9433cc327a
commit
87da9078fe
7 changed files with 32 additions and 20 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue