Class TdApi.WebBrowserSettings

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.WebBrowserSettings
Enclosing class:
TdApi

public static class TdApi.WebBrowserSettings extends TdApi.Object
Describes web browser settings.
  • Field Details

    • openExternalBrowser

      public boolean openExternalBrowser
      True, if links are opened in an external browser by default.
    • externalExceptions

      public TdApi.WebDomainException[] externalExceptions
      The list of websites which must always be opened in an external browser.
    • inAppExceptions

      public TdApi.WebDomainException[] inAppExceptions
      The list of websites which must always be opened in the in-app browser.
    • displayCloseButton

      public boolean displayCloseButton
      True, if a close button must be shown in the in-app browser; for Android app only.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR