Commands

Материал из боты telegram - ebot.one - редактор ботов
Версия от 19:40, 4 февраля 2018; Maiske (обсуждение | вклад) ([eng])
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

Commands

The commands in the bot are words that the user enters manually into the text entry field or or calls through the buttons under the text input field.

  1. To add commands, select the required bot, go to the "Commands" tab and click on the "Add" button:
    12.png
  2. A command with the name "New" will be added. Go to the command settings to change its name and the text of the message that the bot will return after the commands request. Change the name of the command and its message, for example, on "Contacts". Save your new command after these actions:
    13.png
  3. Then we exit the command settings with the "Back" button at the top of the command settings:
    14.png
  4. We see that the command changed its name from "New" to "Contacts". Now the dialogue with the bot in the messenger will start like this:
    15.png
  5. It should be noted that if there are several commands of the first level, you can choose from which command the dialog will start. The text of the same "start" command will be selected when returning from the subcommands. The start command is adjusted by the radio element to the right of the command name in the command list:
    16.png

Read in Other Languages: rus / deu