PHP Class pimax\Messages\Attachment

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

Méthodes publiques

Méthode Description
__construct ( string $type, array $payload = [] ) Attachment constructor.
getData ( ) : array
getFileData ( ) : string
getPayload ( ) : array
getType ( ) : string
setFileData ( string $fileData )
setPayload ( array $payload )
setType ( string $type )

Method Details

__construct() public méthode

Attachment constructor.
public __construct ( string $type, array $payload = [] )
$type string
$payload array

getData() public méthode

public getData ( ) : array
Résultat array

getFileData() public méthode

public getFileData ( ) : string
Résultat string

getPayload() public méthode

public getPayload ( ) : array
Résultat array

getType() public méthode

public getType ( ) : string
Résultat string

setFileData() public méthode

public setFileData ( string $fileData )
$fileData string

setPayload() public méthode

public setPayload ( array $payload )
$payload array

setType() public méthode

public setType ( string $type )
$type string