Class TdApi.MainWebApp

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.MainWebApp
Enclosing class:
TdApi

public static class TdApi.MainWebApp extends TdApi.Object
Contains information about the main Web App of a bot.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    boolean
    True, if the Web App must always be opened in the compact mode instead of the full-size mode.
    URL of the Web App to open.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Contains information about the main Web App of a bot.
    MainWebApp(String url, boolean isCompact)
    Contains information about the main Web App of a bot.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class dev.voroby.springframework.telegram.client.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
      URL of the Web App to open.
    • isCompact

      public boolean isCompact
      True, if the Web App must always be opened in the compact mode instead of the full-size mode.
    • CONSTRUCTOR

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

    • MainWebApp

      public MainWebApp()
      Contains information about the main Web App of a bot.
    • MainWebApp

      public MainWebApp(String url, boolean isCompact)
      Contains information about the main Web App of a bot.
      Parameters:
      url - URL of the Web App to open.
      isCompact - True, if the Web App must always be opened in the compact mode instead of the full-size mode.
  • 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