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

#2 added PostNewHandler.ts

This commit is contained in:
Fedor Katurov 2021-04-29 15:18:24 +07:00
parent 61f0440cb6
commit 8c17836868
10 changed files with 183 additions and 15 deletions

View file

@ -84,6 +84,7 @@ export class TelegramService {
message: string,
extra?: ExtraReplyMessage
) => {
logger.debug(`sending message "${message}" to chan "${channel}"`);
await this.bot.telegram.sendMessage(channel, message, extra);
return;
};