Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

272
Views
how can I add menu button in telegram bot

how can I add Menu button in telegram bot using telegraf

menu button like this Menu

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

You can achieve this in two ways. Either by

  • using the setMyCommands method, or
  • contacting @BotFather to use its /setcommands command.
about 4 years ago · Juan Pablo Isaza Report

0

I create a menu button by add a new framework " Grammy "

first install grammy : npm install grammy

seconde add this code :

const { Bot } = require("grammy");
const bot = new Bot(BOT_TOKEN); // <-- place your bot token in this string

create list of commands :

bot.api.setMyCommands([
{ command: "start", description: "إبدأ من جديد" },
{ command: "help", description: "طلب مساعدة " },
{ command: "list", description: "القائمة " },
]);
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!