PHP Class pimax\Messages\QuickReply

Inheritance: extends Message
Show file Open project: pimax/fb-messenger-php

Protected Properties

Property Type Description
$quick_replies array

Public Methods

Method Description
__construct ( $recipient, $text, $quick_replies ) Message constructor.
getData ( )

Method Details

__construct() public method

Message constructor.
public __construct ( $recipient, $text, $quick_replies )
$recipient
$text - string
$quick_replies - array of array("content_type","title","payload"),..,..

getData() public method

public getData ( )

Property Details

$quick_replies protected property

protected array $quick_replies
return array