Class TdApi.MainWebApp
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.MainWebApp
- Enclosing class:
- TdApi
Contains information about the main Web App of a bot.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
True, if the Web App must always be opened in the compact mode instead of the full-size mode.URL of the Web App to open. -
Constructor Summary
ConstructorDescriptionContains information about the main Web App of a bot.MainWebApp
(String url, boolean isCompact) 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 dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
url
URL of the Web App to open. -
isCompact
public boolean isCompactTrue, if the Web App must always be opened in the compact mode instead of the full-size mode. -
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.isCompact
- True, if the Web App must always be opened in the compact mode instead of the full-size mode.
-
-
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
-