Package com.restfb.types.send
Class PersistentMenu
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.send.PersistentMenu
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCallToAction
(MenuItem item) Top-level menu items that user can interact with.Set to true to disable user input in the menu.Locale of the menu.void
setComposerInputDisabled
(Boolean composerInputDisabled) Set to true to disable user input in the menu.Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
PersistentMenu
public PersistentMenu() -
PersistentMenu
-
PersistentMenu
-
-
Method Details
-
addCallToAction
-
getLocale
Locale of the menu. We will show this menu when user locale matches the provided locale. You must at least specify a menu for the default locale. This is the menu we will fall back to if we don't find another matching the user's locale. See the list of supported locales. -
setComposerInputDisabled
Set to true to disable user input in the menu. This means users will only be able to interact with your bot via the menu, postbacks, buttons, and webviews. -
getComposerInputDisabled
Set to true to disable user input in the menu. This means users will only be able to interact with your bot via the menu, postbacks, buttons, and webviews. -
getCallToActions
Top-level menu items that user can interact with.
-