PHP Class pimax\Messages\FileMessage

Inheritance: extends Message
Afficher le fichier Open project: pimax/fb-messenger-php

Protected Properties

Свойство Type Description
$recipient null | string
$text null | string

Méthodes publiques

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

Method Details

__construct() public méthode

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

getData() public méthode

Get message data
public getData ( ) : array
Résultat array

Property Details

$recipient protected_oe property

protected null|string $recipient
Résultat null | string

$text protected_oe property

protected null|string $text
Résultat null | string