almost all rest bot methods are work
bot.setMyCommands([
{ command: '/start', description: 'start a dialogue with Jarvis' },
{ command: '/repeater', description: 'make Jarvis repeat every your message' }
])
When I'm trying to run and debug code that includes this part of code I get the error "Uncaught TypeError: bot.setMyCommands is not a function", but there is excactly this code in offical documentation of framework telegraf
I had to type 'bot.telegram.setMyCommands()' instead of 'bot.setMyCommands()'