6

I'm new in telegram bot and see this bot:
enter image description here
that but when type /start show menu to me and with out type slash to command just fire the menu button,how can i create menu in telegram like that bot?

Matteo Enna
  • 1,285
  • 1
  • 15
  • 36
behzad razzaqi
  • 127
  • 1
  • 5
  • 14
  • 1
    That's not something you can do in botfather, you need to do that in your bot's source code. And for us to help you with that, you will need to provide us with an example of your code. – Hoi_A Jan 31 '17 at 16:22

1 Answers1

3

You must add the return ajax call a string like this:

'{ "keyboard": [["uno :+1:"],["uno \ud83d\udc4d", "due"],["uno", "due","tre"],["uno", "due","tre","quattro"]]}';

The result is:

enter image description here

Matteo Enna
  • 1,285
  • 1
  • 15
  • 36