Class TdApi.ChangeWebBrowserSettings

Enclosing class:
TdApi

public static class TdApi.ChangeWebBrowserSettings extends TdApi.Function<TdApi.Ok>
Changes web browser settings.

Returns Ok

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    boolean
    Pass true if a close button must be shown in the in-app browser; for Android app only.
    boolean
    Pass true if links must be opened in an external browser by default.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which changes web browser settings.
    ChangeWebBrowserSettings(boolean openExternalBrowser, boolean displayCloseButton)
    Creates a function, which changes web browser settings.
  • 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 links must be opened in an external browser by default.
    • displayCloseButton

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

    • ChangeWebBrowserSettings

      public ChangeWebBrowserSettings()
      Default constructor for a function, which changes web browser settings.

      Returns Ok

    • ChangeWebBrowserSettings

      public ChangeWebBrowserSettings(boolean openExternalBrowser, boolean displayCloseButton)
      Creates a function, which changes web browser settings.

      Returns Ok

      Parameters:
      openExternalBrowser - Pass true if links must be opened in an external browser by default.
      displayCloseButton - Pass 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