PHP Class pimax\Messages\Message

Afficher le fichier Open project: pimax/fb-messenger-php Class Usage Examples

Protected Properties

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

Méthodes publiques

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

Méthodes protégées

Méthode Description
getCurlValue ( string $filename, string $contentType, string $postname ) : CURLFile | string

Method Details

__construct() public méthode

Message constructor.
public __construct ( string $recipient, string $text )
$recipient string
$text string

getCurlValue() protected méthode

protected getCurlValue ( string $filename, string $contentType, string $postname ) : CURLFile | string
$filename string
$contentType string
$postname string
Résultat CURLFile | string

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