skip to Main Content

Telegraf: can't use extra – Telegram API

Simple usage works fine: const { Telegraf } = require('telegraf'); const bot = new Telegraf(tgBotToken); bot.telegram.sendMessage(tgChatId, "My message"); But if I want to use HTML in my message, I need to require telegraf/extra const { Telegraf } = require('telegraf'); const…

VIEW QUESTION
Back To Top
Search