Package com.restfb.types.send
Class ButtonTemplatePayload
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.send.TemplatePayload
-
- com.restfb.types.send.ButtonTemplatePayload
-
- All Implemented Interfaces:
IsBroadcastPayload
,Serializable
public class ButtonTemplatePayload extends TemplatePayload implements IsBroadcastPayload
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ButtonTemplatePayload(String titleText)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addButton(AbstractButton button)
List<AbstractButton>
getButtons()
String
getText()
-
Methods inherited from class com.restfb.types.send.TemplatePayload
getTemplateType, setTemplateType
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
ButtonTemplatePayload
public ButtonTemplatePayload(String titleText)
-
-
Method Detail
-
addButton
public boolean addButton(AbstractButton button)
-
getButtons
public List<AbstractButton> getButtons()
-
-