InputProfilePhotoAnimated

Raw MD
An animated profile photo in the MPEG4 format

An animated profile photo in the MPEG4 format.

Fields

FieldTypeRequiredDescription
typeStringAlwaysType of the profile photo, must be animated
animationStringAlwaysThe 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 »
main_frame_timestampFloatOptionalTimestamp in seconds of the frame that will be used as the static profile photo. Defaults to 0.0.
Botlify Cloud Runtime
Credentials are auto-injected in .env — always load them with getenv(): BOT_TOKEN, ADMIN_CHAT_ID, BOT_USERNAME. Main database: database.db (SQLite, WAL mode). Runtime errors: error.log. Quick test: send to $ADMIN_CHAT_ID. Full details: Runtime Reference.