Skip to content

getFilePersistent

Sahri Riza Umami edited this page Jun 10, 2017 · 4 revisions

Returns information about a file by its persistent id, offline request.

getFilePersistent(persistent_file_id)
Option Description
persistent_file_id Persistent identifier of the file to get.

Example

  • Get information for file AgADBAADyNM3Gw4dZAc3cMcrPSZ5g4J6XhkABP2pQwPTpi3dnG0EAAEC.

    getFilePersistent('AgADBAADyNM3Gw4dZAc3cMcrPSZ5g4J6XhkABP2pQwPTpi3dnG0EAAEC')

    Response:

    {
      ID = "File",
      id_ = 1160,
      path_ = false,
      persistent_id_ = "AgADBAADyNM3Gw4dZAc3cMcrPSZ5g4J6XhkABP2pQwPTpi3dnG0EAAEC",
      size_ = 9668
    }

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally