'; /** * @var string */ protected $version = '1.2.0'; /** * Main command execution * * @return ServerResponse * @throws TelegramException */ public function execute(): ServerResponse { $message = $this->getMessage(); $text = $message->getText(true); if ($text === '') { return $this->replyToChat('Command usage: ' . $this->getUsage()); } return $this->replyToChat($text); } }