StaticGramBot API

InputProfilePhotoAnimated

An animated profile photo in the MPEG4 format.

Поля

typeString
Type of the profile photo, must be animated
animationString
The animated profile photo. Profile photos can't be reused and can only be uploaded as a new file, so you can pass “attach://<file_attach_name>” if the photo was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files »
Timestamp in seconds of the frame that will be used as the static profile photo. Defaults to 0.0.

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

JSON
{
  "type": "private",
  "animation": "..."
}

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

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