Package org.drinkless.tdlib
Class TdApi.WebBrowserSettings
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.WebBrowserSettings
- Enclosing class:
- TdApi
Describes web browser settings.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.booleanTrue, if a close button must be shown in the in-app browser; for Android app only.The list of websites which must always be opened in an external browser.The list of websites which must always be opened in the in-app browser.booleanTrue, if links are opened in an external browser by default. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes web browser settings.WebBrowserSettings(boolean openExternalBrowser, TdApi.WebDomainException[] externalExceptions, TdApi.WebDomainException[] inAppExceptions, boolean displayCloseButton) Describes web browser settings. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
openExternalBrowser
public boolean openExternalBrowserTrue, if links are opened in an external browser by default. -
externalExceptions
The list of websites which must always be opened in an external browser. -
inAppExceptions
The list of websites which must always be opened in the in-app browser. -
displayCloseButton
public boolean displayCloseButtonTrue, if a close button must be shown in the in-app browser; for Android app only. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
WebBrowserSettings
public WebBrowserSettings()Describes web browser settings. -
WebBrowserSettings
public WebBrowserSettings(boolean openExternalBrowser, TdApi.WebDomainException[] externalExceptions, TdApi.WebDomainException[] inAppExceptions, boolean displayCloseButton) Describes web browser settings.- Parameters:
openExternalBrowser- True, if links are opened in an external browser by default.externalExceptions- The list of websites which must always be opened in an external browser.inAppExceptions- The list of websites which must always be opened in the in-app browser.displayCloseButton- True, if a close button must be shown in the in-app browser; for Android app only.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-