ListTemplate
class ListTemplate extends Template (View source)
Class ListTemplate
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 |
STYLE_LATGE |
Top style large |
STYLE_COMPACT |
Top style compact |
Properties
protected QuickReplyCollection | $quicks | from Quickable | |
protected BaseCollection | $collections | from Template |
Methods
__construct($sender, array $elements = [])
ListTemplate constructor.
array
toData()
No description
mixed
collection()
Collection class name
$this
setTopStyle($style)
Set top style
string
getTopStyle()
Get top style
Details
at line 47
__construct($sender, array $elements = [])
ListTemplate constructor.
at line 57
array
toData()
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
BaseCollection
getCollections()
Get collection
at line 74
protected mixed
collection()
Collection class name
at line 105
$this
setTopStyle($style)
Set top style
at line 117
string
getTopStyle()
Get top style