public class LoginUrl extends Object implements Serializable
| Constructor and Description |
|---|
LoginUrl() |
LoginUrl(String url,
String forwardText,
String botUsername,
Boolean requestWriteAccess)
Builds
LoginUrl instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getBotUsername() |
String |
getForwardText() |
Boolean |
getRequestWriteAccess() |
String |
getUrl() |
int |
hashCode() |
void |
setBotUsername(String botUsername) |
void |
setForwardText(String forwardText) |
void |
setRequestWriteAccess(Boolean requestWriteAccess) |
void |
setUrl(String url) |
String |
toString() |
public LoginUrl(String url, String forwardText, String botUsername, Boolean requestWriteAccess)
LoginUrl instance.url - An HTTP URL to be opened with user authorization data added to the query string when
the button is pressedforwardText - Optional. New text of the button in forwarded messages.botUsername - Optional. Username of a bot, which will be used for user authorization.requestWriteAccess - Optional. Pass True to request the permission for your bot to send messages to the
user.public LoginUrl()
public String getUrl()
public void setUrl(String url)
public String getForwardText()
public void setForwardText(String forwardText)
public String getBotUsername()
public void setBotUsername(String botUsername)
public Boolean getRequestWriteAccess()
public void setRequestWriteAccess(Boolean requestWriteAccess)
Apache Camel