ReceiveMessage
class ReceiveMessage (View source)
Class ReceiveMessage
Methods
__construct(string $recipient, string $sender)
Receive constructor.
$this
setSkip($skip)
Set skip
bool
isSkip()
Is skip the message
string
getSender()
Get sender
$this
setMessage($message)
No description
string
getMessage()
Get message
$this
setPostback($postback)
Set postback
string
getPostback()
Get postback payload
$this
setPayload($payload)
Set payload
boolean
isPayload()
Is playload message
string
getRecipient()
Get recipient id
$this
setAttachments($attachments)
Set attachments
array
getAttachments()
Get attachments
bool
hasAttachments()
Has attachments
$this
setReferral($referral)
Set referral
array
getReferral()
Get referral
$this
setNlp($nlp)
Set NLP
array
getNlp()
Get NLP
Details
at line 70
__construct(string $recipient, string $sender)
Receive constructor.
at line 83
$this
setSkip($skip)
Set skip
at line 94
bool
isSkip()
Is skip the message
at line 104
string
getSender()
Get sender
at line 113
$this
setMessage($message)
at line 124
string
getMessage()
Get message
at line 136
$this
setPostback($postback)
Set postback
at line 147
string
getPostback()
Get postback payload
at line 159
$this
setPayload($payload)
Set payload
at line 170
boolean
isPayload()
Is playload message
at line 180
string
getRecipient()
Get recipient id
at line 192
$this
setAttachments($attachments)
Set attachments
at line 203
array
getAttachments()
Get attachments
at line 213
bool
hasAttachments()
Has attachments
at line 225
$this
setReferral($referral)
Set referral
at line 237
array
getReferral()
Get referral
at line 249
$this
setNlp($nlp)
Set NLP
at line 260
array
getNlp()
Get NLP