StaticGramBot API

VideoNote

This object represents a video message.

Поля

file_idString
Identifier for this file, which can be used to download or reuse the file
Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
lengthInteger
Video width and height (diameter of the video message) as defined by the sender
durationInteger
Duration of the video in seconds as defined by the sender
Video thumbnail
file_sizeIntegeroptional
File size in bytes

Минимальный JSON

JSON
{
  "file_id": "...",
  "file_unique_id": "...",
  "length": 1,
  "duration": 1
}

Где используется

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top