Animation

class bale.Animation(file_id, mime_type, width, height, file_size, duration, bot)

Bases: File

This object shows an Animation.

file_id

Identifier for this file, which can be used to download or reuse the file.

Type:

str

width

Animation width as defined by sender.

Type:

int

height

Animation height as defined by sender.

Type:

str

file_size

File size in bytes.

Type:

int

duration

Duration of the animation in seconds as defined by sender.

Type:

int

mime_type

MIME type of file as defined by sender.

Type:

str