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

public static class TdApi.AddWebBrowserSettingsException extends TdApi.Function<TdApi.Ok>
Adds a special handling for the opening of the specified URL.

Returns Ok

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    boolean
    Pass 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

    Constructors
    Constructor
    Description
    Default 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 Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • openExternalBrowser

      public boolean 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

      public String url
      URL of the website.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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

      public AddWebBrowserSettingsException(boolean openExternalBrowser, String url)
      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.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR