Class TdApi.SearchWebApp

Enclosing class:
TdApi

public static class TdApi.SearchWebApp extends TdApi.Function<TdApi.FoundWebApp>
Returns information about a Web App by its short name. Returns a 404 error if the Web App is not found.

Returns FoundWebApp

  • Field Details

    • botUserId

      public long botUserId
      Identifier of the target bot.
    • webAppShortName

      public String webAppShortName
      Short name of the Web App.
    • CONSTRUCTOR

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

    • SearchWebApp

      public SearchWebApp()
      Default constructor for a function, which returns information about a Web App by its short name. Returns a 404 error if the Web App is not found.

      Returns FoundWebApp

    • SearchWebApp

      public SearchWebApp(long botUserId, String webAppShortName)
      Creates a function, which returns information about a Web App by its short name. Returns a 404 error if the Web App is not found.

      Returns FoundWebApp

      Parameters:
      botUserId - Identifier of the target bot.
      webAppShortName - Short name of the Web App.
  • Method Details