Class TdApi.GetRemoteFile

  • Enclosing class:
    TdApi

    public static class TdApi.GetRemoteFile
    extends TdApi.Function
    Returns information about a file by its remote ID; this is an offline request. Can be used to register a URL as a file for further uploading, or sending as a message.

    Returns File

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      TdApi.FileType fileType
      File type, if known.
      java.lang.String remoteFileId
      Remote identifier of the file to get.
    • Constructor Summary

      Constructors 
      Constructor Description
      GetRemoteFile()
      Default constructor.
      GetRemoteFile​(java.lang.String remoteFileId, TdApi.FileType fileType)
      Constructor for initialization of all fields.
    • Field Detail

      • remoteFileId

        public java.lang.String remoteFileId
        Remote identifier of the file to get.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetRemoteFile

        public GetRemoteFile()
        Default constructor.
      • GetRemoteFile

        public GetRemoteFile​(java.lang.String remoteFileId,
                             TdApi.FileType fileType)
        Constructor for initialization of all fields.
        Parameters:
        remoteFileId - Remote identifier of the file to get.
        fileType - File type, if known.