PHP Class mapdev\FacebookMessenger\Callback

Show file Open project: davidpiesse/facebook_messenger_php Class Usage Examples

Public Properties

Property Type Description
$entries
$object

Public Methods

Method Description
__construct ( $data ) Cb constructor.
attachmentMessages ( ) TODO refactor into collections each/map/filter
create ( $data )
postbackMessages ( ) TODO refactor into collections each/map/filter
quickreplies ( )
textMessages ( ) Not Quick Replies

Private Methods

Method Description
buildEntries ( )

Method Details

__construct() public method

Cb constructor.
public __construct ( $data )
$data An array of request information $request->all()

attachmentMessages() public method

TODO refactor into collections each/map/filter
public attachmentMessages ( )

create() public static method

public static create ( $data )

postbackMessages() public method

TODO refactor into collections each/map/filter
public postbackMessages ( )

quickreplies() public method

public quickreplies ( )

textMessages() public method

Not Quick Replies
public textMessages ( )

Property Details

$entries public property

public $entries

$object public property

public $object