PHP Class pimax\Messages\FileMessage

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

Protected Properties

Property Type Description
$recipient null | string
$text null | string

Public Methods

Method Description
__construct ( string $recipient, string $file ) Message constructor.
getData ( ) : array Get message data

Method Details

__construct() public method

Message constructor.
public __construct ( string $recipient, string $file )
$recipient string
$file string Web Url or local file with @ prefix

getData() public method

Get message data
public getData ( ) : array
return array

Property Details

$recipient protected property

protected null|string $recipient
return null | string

$text protected property

protected null|string $text
return null | string