class pyrogram.types.Video

A video file.

  • file_id (str) – Unique identifier for this file.

  • file_ref (str) – Up to date file reference.

  • width (int) – Video width as defined by sender.

  • height (int) – Video height as defined by sender.

  • duration (int) – Duration of the video in seconds as defined by sender.

  • file_name (str, optional) – Video file name.

  • mime_type (str, optional) – Mime type of a file as defined by sender.

  • supports_streaming (bool, optional) – True, if the video was uploaded with streaming support.

  • file_size (int, optional) – File size.

  • date (int, optional) – Date the video was sent in Unix time.

  • ttl_seconds (int. optional) – Time-to-live seconds, for secret photos.

  • thumbs (List of Thumbnail, optional) – Video thumbnails.