Package org.drinkless.tdlib
Class TdApi.MainWebApp
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MainWebApp
- Enclosing class:
- TdApi
Contains information about the main Web App of a bot.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The mode in which the Web App must be opened.URL of the Web App to open. -
Constructor Summary
ConstructorsConstructorDescriptionContains information about the main Web App of a bot.MainWebApp
(String url, TdApi.WebAppOpenMode mode) Contains information about the main Web App of a bot. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
url
URL of the Web App to open. -
mode
The mode in which the Web App must be opened. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MainWebApp
public MainWebApp()Contains information about the main Web App of a bot. -
MainWebApp
Contains information about the main Web App of a bot.- Parameters:
url
- URL of the Web App to open.mode
- The mode in which the Web App must be opened.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-