Class TdApi.CheckWebAppFileDownload

Enclosing class:
TdApi

public static class TdApi.CheckWebAppFileDownload extends TdApi.Function<TdApi.Ok>
Checks whether a file can be downloaded and saved locally by Web App request.

Returns Ok

  • Field Details

    • botUserId

      public long botUserId
      Identifier of the bot, providing the Web App.
    • fileName

      public String fileName
      Name of the file.
    • url

      public String url
      URL of the file.
    • CONSTRUCTOR

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

    • CheckWebAppFileDownload

      public CheckWebAppFileDownload()
      Default constructor for a function, which checks whether a file can be downloaded and saved locally by Web App request.

      Returns Ok

    • CheckWebAppFileDownload

      public CheckWebAppFileDownload(long botUserId, String fileName, String url)
      Creates a function, which checks whether a file can be downloaded and saved locally by Web App request.

      Returns Ok

      Parameters:
      botUserId - Identifier of the bot, providing the Web App.
      fileName - Name of the file.
      url - URL of the file.
  • 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