PHP Class pimax\Messages\StructuredMessage

Inheritance: extends Message
Exibir arquivo Open project: pimax/fb-messenger-php

Protected Properties

Property Type Description
$address array
$adjustments array
$buttons array
$currency string
$elements array
$order_number null | integer
$order_url null | string
$payment_method null | string
$recipient_name null | string
$subtitle null | string
$summary array
$timestamp null | integer
$title null | string
$type null | string

Public Methods

Method Description
__construct ( string $recipient, string $type, array $data ) StructuredMessage constructor.
getData ( ) : array Get Data

Method Details

__construct() public method

StructuredMessage constructor.
public __construct ( string $recipient, string $type, array $data )
$recipient string
$type string
$data array

getData() public method

Get Data
public getData ( ) : array
return array

Property Details

$address protected_oe property

protected array $address
return array

$adjustments protected_oe property

protected array $adjustments
return array

$buttons protected_oe property

protected array $buttons
return array

$currency protected_oe property

protected string $currency
return string

$elements protected_oe property

protected array $elements
return array

$order_number protected_oe property

protected null|int $order_number
return null | integer

$order_url protected_oe property

protected null|string $order_url
return null | string

$payment_method protected_oe property

protected null|string $payment_method
return null | string

$recipient_name protected_oe property

protected null|string $recipient_name
return null | string

$subtitle protected_oe property

protected null|string $subtitle
return null | string

$summary protected_oe property

protected array $summary
return array

$timestamp protected_oe property

protected null|int $timestamp
return null | integer

$title protected_oe property

protected null|string $title
return null | string

$type protected_oe property

protected null|string $type
return null | string