Animation constructor

Animation(
  1. {required int duration,
  2. required int width,
  3. required int height,
  4. required String file_name,
  5. required String mime_type,
  6. required bool has_stickers,
  7. Minithumbnail? minithumbnail,
  8. Thumbnail? thumbnail,
  9. required File animation,
  10. int? extra,
  11. int? clientId}
)

Describes an animation file. The animation must be encoded in GIF or MPEG4 format

Implementation

Animation