Skip to content

🔮 LivePhoto

This object represents a live photo (photo with a short video).

⚙️ Properties

  • file_id (str ): Identifier for this file, which can be used to download or reuse the file
  • file_unique_id (str ): Unique identifier for this file, which is supposed to be the same over time and for different bots
  • width (int ): Photo width
  • height (int ): Photo height
  • file_size (int ): Optional. File size in bytes
  • video_file_id (str ): Optional. File identifier of the accompanying video
  • video_file_unique_id (str ): Optional. Unique identifier of the accompanying video
  • video_width (int ): Optional. Video width
  • video_height (int ): Optional. Video height
  • video_duration (int ): Optional. Video duration in seconds
  • thumbnail (PhotoSize ): Optional. Photo thumbnail