Longman\TelegramBot\Entities\Keyboard::getKeyboardType PHP Method

getKeyboardType() public method

Get the type of keyboard, either "inline_keyboard" or "keyboard".
public getKeyboardType ( ) : string
return string
    public function getKeyboardType()
    {
        return $this->isInlineKeyboard() ? 'inline_keyboard' : 'keyboard';
    }