Skip to content

getFile

Sahri Riza Umami edited this page Sep 11, 2017 · 5 revisions

Returns information about a file, offline request.

getFile(file_id)
Field Type Description
file_id int32 Identifier of the file to get

Example

  • Returns information about a file with id 262.

    getFile(262)

    Response:

    {
      _ = "file",
      id = 262,
      is_being_downloaded = false,
      is_being_uploaded = false,
      local_size = 0,
      path = "",
      persistent_id = "CANDAgADNgYAAmMr4gkLaVXsGqfywQI",
      remote_size = 46568,
      size = 46568
    }

Frequently Asked Questions
The Functions

Clone this wiki locally