Image
class Image extends Attachment (View source)
Class ImageMessage
Traits
Class Quickable
Constants
TYPE_IMAGE |
Image type |
TYPE_AUDIO |
Audio type |
TYPE_VIDEO |
Video type |
TYPE_FILE |
File type |
TYPE_LOCATION |
Location type |
TYPE_TEMPLATE |
Template type |
Properties
protected QuickReplyCollection | $quicks | from Quickable |
Methods
__construct($sender, $image)
ImageMessage constructor.
array
toData()
To array for send api
Details
at line 26
__construct($sender, $image)
ImageMessage constructor.
at line 37
array
toData()
To array for send api
in Attachment at line 77
array
getPayload()
Get payload
in Attachment at line 89
$this
setPayload(array $payload)
Set Payload
in Attachment at line 100
$this
enableReuse()
Enable reuse
in Attachment at line 111
$this
disableReuse()
Disable reuse
in Attachment at line 124
$this
setAttachmentId($id)
Set attachment id