Module tdlight.api

Class TdApi.GetWebAppUrl

Enclosing class:
TdApi

public static final class TdApi.GetWebAppUrl extends TdApi.Function<TdApi.HttpUrl>
Returns an HTTPS URL of a Web App to open after keyboardButtonTypeWebApp button is pressed. Returns HttpUrl
  • Field Details

    • botUserId

      public long botUserId
      Identifier of the target bot.
    • url

      public String url
      The URL from the keyboardButtonTypeWebApp button.
    • theme

      public TdApi.ThemeParameters theme
      Preferred Web App theme; pass null to use the default theme.
    • applicationName

      public String applicationName
      Short name of the application; 0-64 English letters, digits, and underscores.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • GetWebAppUrl

      public GetWebAppUrl()
      Returns an HTTPS URL of a Web App to open after keyboardButtonTypeWebApp button is pressed. Returns HttpUrl
    • GetWebAppUrl

      public GetWebAppUrl(long botUserId, String url, TdApi.ThemeParameters theme, String applicationName)
      Returns an HTTPS URL of a Web App to open after keyboardButtonTypeWebApp button is pressed. Returns HttpUrl
      Parameters:
      botUserId - long Identifier of the target bot.
      url - String The URL from the keyboardButtonTypeWebApp button.
      theme - ThemeParameters Preferred Web App theme; pass null to use the default theme.
      applicationName - String Short name of the application; 0-64 English letters, digits, and underscores.
    • GetWebAppUrl

      public GetWebAppUrl(DataInput input) throws IOException
      Returns an HTTPS URL of a Web App to open after keyboardButtonTypeWebApp button is pressed. Returns HttpUrl
      Throws:
      IOException
  • Method Details