| 1 | <?php |
||
| 18 | class StartCommand extends UserCommand |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $name = 'start'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $description = 'Start command'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | protected $usage = '/start'; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var string |
||
| 37 | */ |
||
| 38 | protected $version = '1.1.0'; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Command execute method |
||
| 42 | * |
||
| 43 | * @return \Longman\TelegramBot\Entities\ServerResponse |
||
| 44 | * @throws \Longman\TelegramBot\Exception\TelegramException |
||
| 45 | */ |
||
| 46 | public function execute() |
||
| 54 | } |
||
| 55 |