PHP Class 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.
Datei anzeigen
Open project: akalongman/php-telegram-bot
Protected Properties
Public Methods
Method |
Description |
|
execute ( ) : ServerResponse |
Command execute method |
|
executeNoDb ( ) : ServerResponse |
Execute no db |
|
Private Methods
Method |
Description |
|
removeKeyboard ( string $text ) : ServerResponse |
Remove the keyboard and output a text |
|
Method Details
public execute ( ) : ServerResponse |
return |
Longman\TelegramBot\Entities\ServerResponse |
|
executeNoDb()
public method
public executeNoDb ( ) : ServerResponse |
return |
Longman\TelegramBot\Entities\ServerResponse |
|
Property Details
$description protected_oe property
protected string $description |
return |
string |
|
$name protected_oe property
protected string $name |
return |
string |
|
$need_mysql protected_oe property
protected bool $need_mysql |
return |
boolean |
|
$usage protected_oe property
protected string $usage |
return |
string |
|
$version protected_oe property
protected string $version |
return |
string |
|