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
Details
at line 59
__construct(string $recipient, string $sender)
Receive constructor.
at line 72
$this
setSkip($skip)
Set skip
at line 83
bool
isSkip()
Is skip the message
at line 93
string
getSender()
Get sender
at line 102
$this
setMessage($message)
at line 113
string
getMessage()
Get message
at line 125
$this
setPostback($postback)
Set postback
at line 136
string
getPostback()
Get postback payload
at line 148
$this
setPayload($payload)
Set payload
at line 159
boolean
isPayload()
Is playload message
at line 169
string
getRecipient()
Get recipient id
at line 181
$this
setAttachments($attachments)
Set attachments
at line 192
array
getAttachments()
Get attachments
at line 202
bool
hasAttachments()
Has attachments