The translation was generated automatically and may contain mistakes
File
The object describing the file contains the following fields:
id
integer
File ID.
owner_id
integer
Identification of the user who uploaded the file.
title
string
File name.
size
integer
File size in bytes.
ext
string
File extension.
url
string
The file address where it can be downloaded.
date
integer
Date added in Unixtime format.
type
integer
Type of file. Possible values:
- •
1- text documents; - •
2archives; - •
3— gif; - •
4images; - •
5The audio; - •
6— видео; - •
7electronic books; - •
8- unknown.
preview
object
Information to preview the file. It may contain the following fields:
- •
photo(objectImages for preview. It contains a single field:- •
sizes(array) — an array of copies of the image in different sizes. You will find a detailed description of the structure on this page .
- •
- •
graffiti(objectData on graffiti. It contains the following fields:- •
src(stringURL of the graffiti file; - •
width(integerthe width of the image in px; - •
height(integerThe height of the image in px.
- •
- •
audio_messageInformation about the audio message. An object that contains the following fields:- •
duration(integerduration of the audio message in seconds; - •
waveform(arrayan array of values (integerfor visual display of sound; - •
link_ogg(string) — URL .ogg file; - •
link_mp3(string.mp3 file.
- •