public static class TdApi.GetMainWebApp extends TdApi.Function<TdApi.MainWebApp>
Returns MainWebApp
| Modifier and Type | Field and Description |
|---|---|
long |
botUserId
Identifier of the target bot.
|
long |
chatId
Identifier of the chat in which the Web App is opened; pass 0 if none.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.WebAppOpenParameters |
parameters
Parameters to use to open the Web App.
|
java.lang.String |
startParameter
Start parameter from internalLinkTypeMainWebApp.
|
| Constructor and Description |
|---|
GetMainWebApp()
Default constructor for a function, which returns information needed to open the main Web App of a bot.
|
GetMainWebApp(long chatId,
long botUserId,
java.lang.String startParameter,
TdApi.WebAppOpenParameters parameters)
Creates a function, which returns information needed to open 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 long chatId
public long botUserId
public java.lang.String startParameter
public TdApi.WebAppOpenParameters parameters
public static final int CONSTRUCTOR
public GetMainWebApp()
Returns MainWebApp
public GetMainWebApp(long chatId,
long botUserId,
java.lang.String startParameter,
TdApi.WebAppOpenParameters parameters)
Returns MainWebApp
chatId - Identifier of the chat in which the Web App is opened; pass 0 if none.botUserId - Identifier of the target bot.startParameter - Start parameter from internalLinkTypeMainWebApp.parameters - Parameters to use to open the Web App.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object