public function quickReplie($text, $title, $postback, $image = null)
    {
        $this->setText($text);

        $payload = [
            'title' => $title,
            'payload' => $postback,
        ];

        if (!empty($image)) {
            $payload['image'] = $image;
        }

        $this->setQuickReplies($payload);

        return $this;
    }
public function quickReplie($text, $title, $postback, $image = null)
    {
        $this->setText($text);

        $payload = [
            'title' => $title,
            'payload' => $postback,
        ];

        if (!empty($image)) {
            $payload['image'] = $image;
        }

        $this->setQuickReplies($payload);

        return $this;
    }
public function quickReplie ( $ text , $ title , $ postback , $ image = null ) { $ this -> setText ( $ text ) ; $ payload = [ 'title' => $ title , 'payload' => $ postback , ] ; if ( ! empty ( $ image ) ) { $ payload [ 'image' ] = $ image ; } $ this -> setQuickReplies ( $ payload ) ; return $ this ; }
Populate qucik replies text

@param string $text Text
@param string $title Title
@param string $postback Postback

@return Message
Populate qucik replies text