PHP Class mapdev\FacebookMessenger\Components\Button

Inheritance: implements JsonSerializable, use trait mapdev\FacebookMessenger\Traits\HasTitle
Afficher le fichier Open project: davidpiesse/facebook_messenger_php

Méthodes publiques

Свойство Type Description
$fallback_url
$is_webview
$is_webview_extended
$payload
$type
$webview_height_ratio

Méthodes publiques

Méthode 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 méthode

public __construct ( )

create() public static méthode

public static create ( )

jsonSerialize() public méthode

public jsonSerialize ( )

payload() public méthode

public payload ( $payload )

phone_number() public méthode

public phone_number ( $number )

postback() public méthode

public postback ( $payload )

share() public méthode

only for a generic template
public share ( )

toArray() public méthode

public toArray ( )

type() public méthode

public type ( $type )

url() public méthode

public url ( $url )

webview() public méthode

public webview ( $url, $size )

webview_with_extensions() public méthode

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