PHP Class Longman\TelegramBot\Commands\SystemCommands\GenericmessageCommand

Inheritance: extends Longman\TelegramBot\Commands\SystemCommand
Mostra file Open project: akalongman/php-telegram-bot

Protected Properties

Property Type Description
$description string
$name string
$need_mysql boolean
$version string

Public Methods

Method Description
execute ( ) : ServerResponse Execute command
executeNoDb ( ) : ServerResponse Execution if MySQL is required but not available

Method Details

execute() public method

Execute command
public execute ( ) : ServerResponse
return Longman\TelegramBot\Entities\ServerResponse

executeNoDb() public method

Execution if MySQL is required but not available
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

$version protected_oe property

protected string $version
return string