PHP Class mapdev\FacebookMessenger\Components\Button

Inheritance: implements JsonSerializable, use trait mapdev\FacebookMessenger\Traits\HasTitle
Exibir arquivo Open project: davidpiesse/facebook_messenger_php

Public Properties

Property Type Description
$fallback_url
$is_webview
$is_webview_extended
$payload
$type
$webview_height_ratio

Public Methods

Method Description
__construct ( )
create ( )
jsonSerialize ( )
link_account ( $callback_url )
payload ( $payload )
phone_number ( $number )
postback ( $payload )
share ( ) only for a generic template
toArray ( )
type ( $type )
unlink_account ( )
url ( $url )
webview ( $url, $size )
webview_with_extensions ( $url, $size, $fallback = null )

Method Details

__construct() public method

public __construct ( )

create() public static method

public static create ( )

jsonSerialize() public method

public jsonSerialize ( )

payload() public method

public payload ( $payload )

phone_number() public method

public phone_number ( $number )

postback() public method

public postback ( $payload )

share() public method

only for a generic template
public share ( )

toArray() public method

public toArray ( )

type() public method

public type ( $type )

url() public method

public url ( $url )

webview() public method

public webview ( $url, $size )

webview_with_extensions() public method

public webview_with_extensions ( $url, $size, $fallback = null )

Property Details

$fallback_url public_oe property

public $fallback_url

$is_webview public_oe property

public $is_webview

$is_webview_extended public_oe property

public $is_webview_extended

$payload public_oe property

public $payload

$type public_oe property

public $type

$webview_height_ratio public_oe property

public $webview_height_ratio