src/PersistentMenu/Menu.php
public function postback($text, $payload = '')
    {
        $this->createMenu([
            'call_to_actions' => [
                (new Button(Button::TYPE_POSTBACK, $text, $payload))->toData(),
            ],
        ]);
    }
public function postback($text, $payload = '')
    {
        $this->createMenu([
            'call_to_actions' => [
                (new Button(Button::TYPE_POSTBACK, $text, $payload))->toData(),
            ],
        ]);
    }
public function postback ( $ text , $ payload = '' ) { $ this -> createMenu ( [ 'call_to_actions' => [ ( new Button ( Button :: TYPE_POSTBACK , $ text , $ payload ) ) -> toData ( ) , ] , ] ) ; }
Create postback menu

@param $text
@param string $payload
@throws \Casperlaitw\LaravelFbMessenger\Exceptions\UnknownTypeException
Create postback menu