Video

class pyrogram.Video

A video file.

Parameters
  • 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.

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