PHP Class pimax\Messages\ImageMessage

Inheritance: extends Message
Mostrar archivo 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_oe property

protected null|string $recipient
return null | string

$text protected_oe property

protected null|string $text
return null | string