public function getBackSkipKeyboard(bool $json_serialized = true)
    {
        // Create the keyboard
        $inline_keyboard = [ 'inline_keyboard' =>
            [
                [
                    [
                        'text' => $this->bot->local->getStr('Back_Button'),
                        'callback_data' => 'back'
                    ],
                    [
                        'text' => $this->bot->local->getStr('Skip_Button'),
                        'callback_data' => 'skip'
                    ]
                ]
            ]
        ];

        if ($json_serialized) {
            return json_encode($inline_keyboard);
        } else {
            return $inline_keyboard;
        }
    }
public function getBackSkipKeyboard(bool $json_serialized = true)
    {
        // Create the keyboard
        $inline_keyboard = [ 'inline_keyboard' =>
            [
                [
                    [
                        'text' => $this->bot->local->getStr('Back_Button'),
                        'callback_data' => 'back'
                    ],
                    [
                        'text' => $this->bot->local->getStr('Skip_Button'),
                        'callback_data' => 'skip'
                    ]
                ]
            ]
        ];

        if ($json_serialized) {
            return json_encode($inline_keyboard);
        } else {
            return $inline_keyboard;
        }
    }
public function getBackSkipKeyboard ( bool $ json_serialized = true ) { // Create the keyboard $ inline_keyboard = [ 'inline_keyboard' => [ [ [ 'text' => $ this -> bot -> local -> getStr ( 'Back_Button' ) , 'callback_data' => 'back' ] , [ 'text' => $ this -> bot -> local -> getStr ( 'Skip_Button' ) , 'callback_data' => 'skip' ] ] ] ] ; if ( $ json_serialized ) { return json_encode ( $ inline_keyboard ) ; } else { return $ inline_keyboard ; } }
\brief Get a Back and a Skip buttons inthe same row.
\details Back button has callback_data "back" and Skip button has callback_data "skip".
@param bool $json_serialized return a json serialized string, or an array.
@return string|array A button with written "back" and one with written "Skip".
\ brief Get a Back and a Skip buttons inthe same row . \ details Back button has callback_data back and Skip button has callback_data skip .