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.
Inheritance: extends Longman\TelegramBot\Commands\UserCommand
Afficher le fichier Open project: akalongman/php-telegram-bot

Protected Properties

Свойство Type Description
$description string
$name string
$need_mysql boolean
$usage string
$version string

Méthodes publiques

Méthode Description
execute ( ) : ServerResponse Command execute method
executeNoDb ( ) : ServerResponse Execute no db

Private Methods

Méthode Description
removeKeyboard ( string $text ) : ServerResponse Remove the keyboard and output a text

Method Details

execute() public méthode

Command execute method
public execute ( ) : ServerResponse
Résultat Longman\TelegramBot\Entities\ServerResponse

executeNoDb() public méthode

Execute no db
public executeNoDb ( ) : ServerResponse
Résultat Longman\TelegramBot\Entities\ServerResponse

Property Details

$description protected_oe property

protected string $description
Résultat string

$name protected_oe property

protected string $name
Résultat string

$need_mysql protected_oe property

protected bool $need_mysql
Résultat boolean

$usage protected_oe property

protected string $usage
Résultat string

$version protected_oe property

protected string $version
Résultat string