python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Telegraf.js custom keyboard how to make a Back button?
I don't know how to return to the previous menu by clicking to Back button.
bot.command('course', ctx => {
ctx.replyWithHTML('<b>Courses</b>', Markup.keyboard(
[
...
Hamroev Sodikjon
Votes: 0
Answers: 1
Telegraf.js does not display some thumbnails in the audio media
By some query, using ytsr I get information about the video (link, thumbnail, etc).
Then, using ytdl-core, I download the audio of this video and return the cropped thumbnail (320x320 - telegram thumb...
titsex
Votes: 0
Answers: 0
Can I get suggestions of all possible properties of an object in TypeScript?
I'm trying to use Telegraf (4.6.0) types and I'm having an issue with exploring possible message properties.
Here's what I do now:
import { Telegraf, Context } from 'telegraf'
const myBot = new Teleg...
YakovL
Votes: 0
Answers: 1
Telegraf bot.action does not catch callbacks
I use example from documentation:
bot.command('inline', (ctx) => {
return ctx.reply('<b>Coke</b> or <i>Pepsi?</i>', {
parse_mode: 'HTML',
...Markup.inlin...
Roman Tymchuk
Votes: 0
Answers: 1