Video¶
- class litegram.types.video.Video(*, file_id: str, file_unique_id: str, width: int, height: int, duration: int, thumbnail: PhotoSize | None = None, cover: list[PhotoSize] | None = None, start_timestamp: datetime | None = None, file_name: str | None = None, mime_type: str | None = None, file_size: int | None = None, **extra_data: Any)[source]¶
This object represents a video file.
Source: https://core.telegram.org/bots/api#video
- file_unique_id: str¶
Unique identifier for this file, which is supposed to be the same over time and for different bots. Can’t be used to download or reuse the file.
- start_timestamp: datetime.datetime | None¶
Optional. Timestamp in seconds from which the video will play in the message