-
- All Implemented Interfaces:
public final class ListPayload extends ModelPayload
See https://developers.facebook.com/docs/messenger-platform/send-api-reference/list-template
-
-
Field Summary
Fields Modifier and Type Field Description private final List<Element>elementsprivate final ListElementStyletopElementStyleprivate final List<Button>buttonsprivate final PayloadTypetemplateType
-
Constructor Summary
Constructors Constructor Description ListPayload(List<Element> elements, ListElementStyle topElementStyle, List<Button> buttons)
-
Method Summary
Modifier and Type Method Description final List<Element>getElements()final ListElementStylegetTopElementStyle()final List<Button>getButtons()GenericMessagetoGenericMessage()Payloadobfuscate()-
-
Constructor Detail
-
ListPayload
ListPayload(List<Element> elements, ListElementStyle topElementStyle, List<Button> buttons)
-
-
Method Detail
-
getElements
final List<Element> getElements()
-
getTopElementStyle
final ListElementStyle getTopElementStyle()
-
getButtons
final List<Button> getButtons()
-
toGenericMessage
GenericMessage toGenericMessage()
-
-
-
-