public static class TdApi.BotMenuButton extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
text
Text of the button.
|
java.lang.String |
url
URL of a Web App to open when the button is pressed.
|
| Constructor and Description |
|---|
BotMenuButton()
Describes a button to be shown instead of bot commands menu button.
|
BotMenuButton(java.lang.String text,
java.lang.String url)
Describes a button to be shown instead of bot commands menu button.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String text
public java.lang.String url
public static final int CONSTRUCTOR
public BotMenuButton()
public BotMenuButton(java.lang.String text,
java.lang.String url)
text - Text of the button.url - URL of a Web App to open when the button is pressed. If the link is of the type internalLinkTypeWebApp, then it must be processed accordingly. Otherwise, the link must be passed to openWebApp.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object