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:
parent
f444a7d194
commit
4076b4427d
9 changed files with 89 additions and 31 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue