java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InternalLinkType
it.tdlight.jni.TdApi.InternalLinkTypeWebApp
- Enclosing class:
- TdApi
The link is a link to a Web App. Call
searchPublicChat with the given bot
username, check that the user is a
bot, then call searchWebApp with the
received bot and the given webAppShortName.
Process received foundWebApp by showing
a confirmation dialog if needed, then
calling getWebAppLinkUrl and opening
the returned URL.
-
Field Summary
Modifier and TypeFieldDescriptionUsername of the bot that owns the Web App.static final int
Start parameter to be passed to getWebAppLinkUrl.Short name of the Web App. -
Constructor Summary
ConstructorDescriptionThe link is a link to a Web App.InternalLinkTypeWebApp
(DataInput input) The link is a link to a Web App.InternalLinkTypeWebApp
(String botUsername, String webAppShortName, String startParameter) The link is a link to a Web App. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
botUsername
Username of the bot that owns the Web App. -
webAppShortName
Short name of the Web App. -
startParameter
Start parameter to be passed to getWebAppLinkUrl. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
InternalLinkTypeWebApp
public InternalLinkTypeWebApp()The link is a link to a Web App. Call searchPublicChat with the given bot username, check that the user is a bot, then call searchWebApp with the received bot and the given webAppShortName. Process received foundWebApp by showing a confirmation dialog if needed, then calling getWebAppLinkUrl and opening the returned URL. -
InternalLinkTypeWebApp
The link is a link to a Web App. Call searchPublicChat with the given bot username, check that the user is a bot, then call searchWebApp with the received bot and the given webAppShortName. Process received foundWebApp by showing a confirmation dialog if needed, then calling getWebAppLinkUrl and opening the returned URL.- Parameters:
botUsername
- String Username of the bot that owns the Web App.webAppShortName
- String Short name of the Web App.startParameter
- String Start parameter to be passed to getWebAppLinkUrl.
-
InternalLinkTypeWebApp
The link is a link to a Web App. Call searchPublicChat with the given bot username, check that the user is a bot, then call searchWebApp with the received bot and the given webAppShortName. Process received foundWebApp by showing a confirmation dialog if needed, then calling getWebAppLinkUrl and opening the returned URL.- 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()
-