Longman\TelegramBot\Commands\UserCommands\CancelCommand::removeKeyboard PHP Метод

removeKeyboard() приватный Метод

Remove the keyboard and output a text
private removeKeyboard ( string $text ) : ServerResponse
$text string
Результат Longman\TelegramBot\Entities\ServerResponse
    private function removeKeyboard($text)
    {
        return Request::sendMessage(['reply_markup' => Keyboard::remove(['selective' => true]), 'chat_id' => $this->getMessage()->getChat()->getId(), 'text' => $text]);
    }