PHP Класс Longman\TelegramBot\Commands\UserCommands\CancelCommand
This command cancels the currently active conversation and
returns a message to let the user know which conversation it was.
If no conversation is active, the returned message says so.
Показать файл
Открыть проект
Защищенные свойства (Protected)
Открытые методы
Метод |
Описание |
|
execute ( ) : ServerResponse |
Command execute method |
|
executeNoDb ( ) : ServerResponse |
Execute no db |
|
Приватные методы
Метод |
Описание |
|
removeKeyboard ( string $text ) : ServerResponse |
Remove the keyboard and output a text |
|
Описание методов
execute()
публичный Метод
public execute ( ) : ServerResponse |
Результат |
Longman\TelegramBot\Entities\ServerResponse |
|
executeNoDb()
публичный Метод
public executeNoDb ( ) : ServerResponse |
Результат |
Longman\TelegramBot\Entities\ServerResponse |
|
Описание свойств
$description защищенное свойство
protected string $description |
Результат |
string |
|
$name защищенное свойство
protected string $name |
Результат |
string |
|
$need_mysql защищенное свойство
protected bool $need_mysql |
Результат |
boolean |
|
$usage защищенное свойство
protected string $usage |
Результат |
string |
|
$version защищенное свойство
protected string $version |
Результат |
string |
|