- Enclosing class:
- TdApi
Returns an HTTPS URL of a Web App to
open after a link of the type
internalLinkTypeWebApp is clicked.
Returns
HttpUrl
-
Field Summary
Modifier and TypeFieldDescriptionboolean
Pass true if the current user allowed the bot to send them messages.Short name of the application; 0-64 English letters, digits, and underscores.long
Identifier of the target bot.long
Identifier of the chat in which the link was clicked; pass 0 if none.static final int
Start parameter from internalLinkTypeWebApp.Preferred Web App theme; pass null to use the default theme.Short name of the Web App. -
Constructor Summary
ConstructorDescriptionReturns an HTTPS URL of a Web App to open after a link of the type internalLinkTypeWebApp is clicked.GetWebAppLinkUrl
(long chatId, long botUserId, String webAppShortName, String startParameter, TdApi.ThemeParameters theme, String applicationName, boolean allowWriteAccess) Returns an HTTPS URL of a Web App to open after a link of the type internalLinkTypeWebApp is clicked.GetWebAppLinkUrl
(DataInput input) Returns an HTTPS URL of a Web App to open after a link of the type internalLinkTypeWebApp is clicked. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdIdentifier of the chat in which the link was clicked; pass 0 if none. -
botUserId
public long botUserIdIdentifier of the target bot. -
webAppShortName
Short name of the Web App. -
startParameter
Start parameter from internalLinkTypeWebApp. -
theme
Preferred Web App theme; pass null to use the default theme. -
applicationName
Short name of the application; 0-64 English letters, digits, and underscores. -
allowWriteAccess
public boolean allowWriteAccessPass true if the current user allowed the bot to send them messages. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetWebAppLinkUrl
public GetWebAppLinkUrl()Returns an HTTPS URL of a Web App to open after a link of the type internalLinkTypeWebApp is clicked. ReturnsHttpUrl
-
GetWebAppLinkUrl
public GetWebAppLinkUrl(long chatId, long botUserId, String webAppShortName, String startParameter, TdApi.ThemeParameters theme, String applicationName, boolean allowWriteAccess) Returns an HTTPS URL of a Web App to open after a link of the type internalLinkTypeWebApp is clicked. ReturnsHttpUrl
- Parameters:
chatId
- long Identifier of the chat in which the link was clicked; pass 0 if none.botUserId
- long Identifier of the target bot.webAppShortName
- String Short name of the Web App.startParameter
- String Start parameter from internalLinkTypeWebApp.theme
- ThemeParameters Preferred Web App theme; pass null to use the default theme.applicationName
- String Short name of the application; 0-64 English letters, digits, and underscores.allowWriteAccess
- boolean Pass true if the current user allowed the bot to send them messages.
-
GetWebAppLinkUrl
Returns an HTTPS URL of a Web App to open after a link of the type internalLinkTypeWebApp is clicked. ReturnsHttpUrl
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-