public static class TdApi.MainWebApp extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.WebAppOpenMode |
mode
The mode in which the Web App must be opened.
|
java.lang.String |
url
URL of the Web App to open.
|
| Constructor and Description |
|---|
MainWebApp()
Contains information about the main Web App of a bot.
|
MainWebApp(java.lang.String url,
TdApi.WebAppOpenMode mode)
Contains information about the main Web App of a bot.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String url
public TdApi.WebAppOpenMode mode
public static final int CONSTRUCTOR
public MainWebApp()
public MainWebApp(java.lang.String url,
TdApi.WebAppOpenMode mode)
url - URL of the Web App to open.mode - The mode in which the Web App must be opened.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object