public static class TdApi.GetWebAppUrl extends TdApi.Function<TdApi.HttpUrl>
Returns HttpUrl
| Modifier and Type | Field and Description |
|---|---|
long |
botUserId
Identifier of the target bot.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.WebAppOpenParameters |
parameters
Parameters to use to open the Web App.
|
java.lang.String |
url
The URL from a keyboardButtonTypeWebApp button, inlineQueryResultsButtonTypeWebApp button, or an empty string when the bot is opened from the side menu.
|
| Constructor and Description |
|---|
GetWebAppUrl()
Default constructor for a function, which returns an HTTPS URL of a Web App to open from the side menu, a keyboardButtonTypeWebApp button, or an inlineQueryResultsButtonTypeWebApp button.
|
GetWebAppUrl(long botUserId,
java.lang.String url,
TdApi.WebAppOpenParameters parameters)
Creates a function, which returns an HTTPS URL of a Web App to open from the side menu, a keyboardButtonTypeWebApp button, or an inlineQueryResultsButtonTypeWebApp button.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long botUserId
public java.lang.String url
public TdApi.WebAppOpenParameters parameters
public static final int CONSTRUCTOR
public GetWebAppUrl()
Returns HttpUrl
public GetWebAppUrl(long botUserId,
java.lang.String url,
TdApi.WebAppOpenParameters parameters)
Returns HttpUrl
botUserId - Identifier of the target bot.url - The URL from a keyboardButtonTypeWebApp button, inlineQueryResultsButtonTypeWebApp button, or an empty string when the bot is opened from the side menu.parameters - Parameters to use to open the Web App.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object