Module tdlight.api

Class TdApi.SearchWebApp

Enclosing class:
TdApi

public static final 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
      See Also:
  • Constructor Details

    • SearchWebApp

      public SearchWebApp()
      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)
      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 - long Identifier of the target bot.
      webAppShortName - String Short name of the Web App.
    • SearchWebApp

      public SearchWebApp(DataInput input) throws IOException
      Returns information about a Web App by its short name. Returns a 404 error if the Web App is not found. Returns FoundWebApp
      Throws:
      IOException
  • Method Details