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.
상속: extends Longman\TelegramBot\Commands\UserCommand
파일 보기 프로젝트 열기: akalongman/php-telegram-bot

보호된 프로퍼티들

프로퍼티 타입 설명
$description string
$name string
$need_mysql boolean
$usage string
$version string

공개 메소드들

메소드 설명
execute ( ) : ServerResponse Command execute method
executeNoDb ( ) : ServerResponse Execute no db

비공개 메소드들

메소드 설명
removeKeyboard ( string $text ) : ServerResponse Remove the keyboard and output a text

메소드 상세

execute() 공개 메소드

Command execute method
public execute ( ) : ServerResponse
리턴 Longman\TelegramBot\Entities\ServerResponse

executeNoDb() 공개 메소드

Execute no db
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