Package com.restfb.types.send
Class HomeUrl
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.send.HomeUrl
-
- All Implemented Interfaces:
Serializable
public class HomeUrl extends AbstractFacebookType
Represents the Messenger Profile Home Url- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HomeUrl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getInTest()
Controls whether users not assigned a role for your bot or its Facebook page can see the Chat Extension.String
getUrl()
The URL to be invoked from drawer.String
getWebviewHeightRatio()
Controls the height of webview.String
getWebviewShareButton()
Controls whether the share button in the webview is enabled.void
setInTest(Boolean inTest)
Controls whether users not assigned a role for your bot or its Facebook page can see the Chat Extension.void
setUrl(String url)
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 Detail
-
HomeUrl
public HomeUrl()
-
-
Method Detail
-
getUrl
public String getUrl()
The URL to be invoked from drawer. Must be whitelisted. Must use https.
-
setUrl
public void setUrl(String url)
The URL to be invoked from drawer. Must be whitelisted. Must use https.
-
getWebviewHeightRatio
public String getWebviewHeightRatio()
Controls the height of webview. Only allowed value is tall.
-
setWebviewHeightRatio
public void setWebviewHeightRatio(String webviewHeightRatio)
Controls the height of webview. Only allowed value is tall.
-
getWebviewShareButton
public String getWebviewShareButton()
Controls whether the share button in the webview is enabled. Either show or hide, defaults to "hide"
-
setWebviewShareButton
public void setWebviewShareButton(String webviewShareButton)
Controls whether the share button in the webview is enabled. Either show or hide, defaults to "hide"
-
getInTest
public Boolean 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.
-
-