Package com.restfb.types.send
Class HomeUrl
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.send.HomeUrl
- All Implemented Interfaces:
Serializable
Represents the
Messenger
Profile Home Url
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionControls whether users not assigned a role for your bot or its Facebook page can see the Chat Extension.getUrl()
The URL to be invoked from drawer.Controls the height of webview.Controls whether the share button in the webview is enabled.void
Controls whether users not assigned a role for your bot or its Facebook page can see the Chat Extension.void
The URL to be invoked from drawer.void
setWebviewHeightRatio
(String webviewHeightRatio) Controls the height of webview.void
setWebviewShareButton
(String webviewShareButton) Controls whether the share button in the webview is enabled.Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
HomeUrl
public HomeUrl()
-
-
Method Details
-
getUrl
The URL to be invoked from drawer. Must be whitelisted. Must use https. -
setUrl
The URL to be invoked from drawer. Must be whitelisted. Must use https. -
getWebviewHeightRatio
Controls the height of webview. Only allowed value is tall. -
setWebviewHeightRatio
Controls the height of webview. Only allowed value is tall. -
getInTest
Controls whether users not assigned a role for your bot or its Facebook page can see the Chat Extension. This should be set to true until the Chat Extension is ready to be used by others. -
setInTest
Controls whether users not assigned a role for your bot or its Facebook page can see the Chat Extension. This should be set to true until the Chat Extension is ready to be used by others.
-