original_string: public function getArray(bool $clean_keyboard = true) : array
      {
          if (empty($this->inline_keyboard)) {
              throw new BotException("Inline keyboard is empty");
          }
  
          // Create a new array to put the buttons
          $reply_markup = ['inline_keyboard' => $this->inline_keyboard];
  
          if ($clean_keyboard) {
              $this->clearKeyboard();
          }
  
          return $reply_markup;
      }
code: public function getArray(bool $clean_keyboard = true) : array
      {
          if (empty($this->inline_keyboard)) {
              throw new BotException("Inline keyboard is empty");
          }
  
          // Create a new array to put the buttons
          $reply_markup = ['inline_keyboard' => $this->inline_keyboard];
  
          if ($clean_keyboard) {
              $this->clearKeyboard();
          }
  
          return $reply_markup;
      }
code_tokens: public function getArray ( bool $ clean_keyboard = true ) : array { if ( empty ( $ this -> inline_keyboard ) ) { throw new BotException ( "Inline keyboard is empty" ) ; } // Create a new array to put the buttons $ reply_markup = [ 'inline_keyboard' => $ this -> inline_keyboard ] ; if ( $ clean_keyboard ) { $ this -> clearKeyboard ( ) ; } return $ reply_markup ; }
docstring: \brief Get the array containing the buttons.
  \details Use this method when adding keyboard to inline query results.
  @param bool $clean_keyboard If it's true, it'll clean the inline keyboard.
  @return array An array containing the buttons.
docstring_tokens: \ brief Get the array containing the buttons . \ details Use this method when adding keyboard to inline query results .