StaticGramBot API

PhotoSize

This object represents one size of a photo or a file / sticker thumbnail.

Поля

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.
widthInteger
Photo width
heightInteger
Photo height
file_sizeIntegeroptional
File size in bytes

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

JSON
{
  "file_id": "...",
  "file_unique_id": "...",
  "width": 1,
  "height": 1
}

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

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