Package org.drinkless.tdlib
Class TdApi.AddWebBrowserSettingsException
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.AddWebBrowserSettingsException
- Enclosing class:
- TdApi
Adds a special handling for the opening of the specified URL.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.booleanPass true if the specified website must be opened in an external browser; pass false to open it in the in-app browser.URL of the website. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which adds a special handling for the opening of the specified URL.AddWebBrowserSettingsException(boolean openExternalBrowser, String url) Creates a function, which adds a special handling for the opening of the specified URL. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
openExternalBrowser
public boolean openExternalBrowserPass true if the specified website must be opened in an external browser; pass false to open it in the in-app browser. There can be at most 100 exceptions in each list of the exceptions. -
url
URL of the website. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AddWebBrowserSettingsException
public AddWebBrowserSettingsException()Default constructor for a function, which adds a special handling for the opening of the specified URL.Returns
Ok -
AddWebBrowserSettingsException
Creates a function, which adds a special handling for the opening of the specified URL.Returns
Ok- Parameters:
openExternalBrowser- Pass true if the specified website must be opened in an external browser; pass false to open it in the in-app browser. There can be at most 100 exceptions in each list of the exceptions.url- URL of the website.
-
-
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
-