Class TdApi.WebAppUrl

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

public static class TdApi.WebAppUrl extends TdApi.Object
Contains information about a Web App URL.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    boolean
    True, if events from the Web App must be accepted only from the same origin as the URL.
    The Web App URL to open in a web view.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Contains information about a Web App URL.
    WebAppUrl(String url, boolean requireSameOrigin)
    Contains information about a Web App 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.Object

    toString

    Methods inherited from class java.lang.Object

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

    • url

      public String url
      The Web App URL to open in a web view.
    • requireSameOrigin

      public boolean requireSameOrigin
      True, if events from the Web App must be accepted only from the same origin as the URL.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • WebAppUrl

      public WebAppUrl()
      Contains information about a Web App URL.
    • WebAppUrl

      public WebAppUrl(String url, boolean requireSameOrigin)
      Contains information about a Web App URL.
      Parameters:
      url - The Web App URL to open in a web view.
      requireSameOrigin - True, if events from the Web App must be accepted only from the same origin as the URL.
  • 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