Global Commands — различия между версиями

Материал из боты telegram - ebot.one - редактор ботов
Перейти к: навигация, поиск
 
Строка 9: Строка 9:
 
Syntax is available from 2017-03-07 15:03
 
Syntax is available from 2017-03-07 15:03
  
Read in Other languages: [[Глобальные команды|eng]] / [[Globale Befehle|deu]]
+
Read in Other languages: [[Глобальные команды|rus]] / [[Globale Befehle|deu]]

Текущая версия на 21:33, 11 мая 2018

Global commands

  1. /start - erases the data of the current dialog (not in the messenger, but in the editor). Namely, the dialog is deleted from the database and the bot starts the dialog from the beginning (Including the start message). The exception is the data buttons. For example, if the user leafed through a photo gallery or read a book, the data on which page he stopped will not be erased.
  2. /home - Returns the user to the root of the commands.
  3. /subscribe - Subscribes to the bot mailing materials.
  4. /getChatId - Displays your telegram id.
  5. /unsubscribe - Unsubscribes from bot mailing materials. If you are subscribed to some bot or gallery commands, then you transplant receive all these mailings until you subscribe to the bot again or to any of the teams or galleries that have a subscription.
  6. /your command - Calls a random command from your command tree. In the properties of any of the commands under the command name, a field is available in which you can enter the English-speaking command name, which must be unique within the entire command tree. Calling that kind of name with a slash in the beginning activates the command as if it were called from the parent's command by its usual name.

Call's Example: / my_command Syntax is available from 2017-03-07 15:03

Read in Other languages: rus / deu