Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can create menu for telegram bot in bot father?

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?

like image 322
behzad razzaqi Avatar asked Jan 31 '17 11:01

behzad razzaqi


1 Answers

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

like image 56
Matteo Enna Avatar answered Jan 03 '23 15:01

Matteo Enna