Package org.drinkless.tdlib
Class TdApi.WebAppOpenParameters
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.WebAppOpenParameters
- Enclosing class:
- TdApi
Options to be used when a Web App is opened.
-
Field Summary
FieldsModifier and TypeFieldDescriptionShort name of the current application; 0-64 English letters, digits, and underscores.static final int
Identifier uniquely determining type of the object.The mode in which the Web App is opened; pass null to open in webAppOpenModeFullSize.Preferred Web App theme; pass null to use the default theme. -
Constructor Summary
ConstructorsConstructorDescriptionOptions to be used when a Web App is opened.WebAppOpenParameters
(TdApi.ThemeParameters theme, String applicationName, TdApi.WebAppOpenMode mode) Options to be used when a Web App is opened. -
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
-
theme
Preferred Web App theme; pass null to use the default theme. -
applicationName
Short name of the current application; 0-64 English letters, digits, and underscores. -
mode
The mode in which the Web App is opened; pass null to open in webAppOpenModeFullSize. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
WebAppOpenParameters
public WebAppOpenParameters()Options to be used when a Web App is opened. -
WebAppOpenParameters
public WebAppOpenParameters(TdApi.ThemeParameters theme, String applicationName, TdApi.WebAppOpenMode mode) Options to be used when a Web App is opened.- Parameters:
theme
- Preferred Web App theme; pass null to use the default theme.applicationName
- Short name of the current application; 0-64 English letters, digits, and underscores.mode
- The mode in which the Web App is opened; pass null to open in webAppOpenModeFullSize.
-
-
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
-