PHP Class mapdev\FacebookMessenger\Messenger

Afficher le fichier Open project: davidpiesse/facebook_messenger_php

Protected Properties

Свойство Type Description
$api
$notification_type

Méthodes publiques

Méthode Description
__construct ( $token )
addWhitelistedDomain ( array $domains )
create ( $token )
deleteGetStartedButton ( )
deleteGreetingText ( )
deletePersistentMenu ( )
hubReply ( array $data, $verify_token )
receive ( $data )
removeWhitelistedDomain ( array $domains )
send ( $message, $path = 'me/messages' ) all message objects have toArray on them.
setGetStartedButton ( $payload )
setGreetingText ( $text )
setPersistentMenu ( $menu_items )
user ( $user_id )

Méthodes protégées

Méthode Description
addRecipient ( $data, $recipient_id )

Method Details

__construct() public méthode

public __construct ( $token )

addRecipient() protected méthode

protected addRecipient ( $data, $recipient_id )

addWhitelistedDomain() public méthode

public addWhitelistedDomain ( array $domains )
$domains array

create() public static méthode

public static create ( $token )

deleteGetStartedButton() public méthode

deleteGreetingText() public méthode

public deleteGreetingText ( )

deletePersistentMenu() public méthode

hubReply() public méthode

public hubReply ( array $data, $verify_token )
$data array

receive() public méthode

public receive ( $data )

removeWhitelistedDomain() public méthode

public removeWhitelistedDomain ( array $domains )
$domains array

send() public méthode

..
public send ( $message, $path = 'me/messages' )

setGetStartedButton() public méthode

public setGetStartedButton ( $payload )

setGreetingText() public méthode

public setGreetingText ( $text )

setPersistentMenu() public méthode

public setPersistentMenu ( $menu_items )

user() public méthode

public user ( $user_id )

Property Details

$api protected_oe property

protected $api

$notification_type protected_oe property

protected $notification_type