VideoNote
class VideoNote
This object represents a video message (available in Telegram apps as of v.4.0).
Methods
No description
Identifier for this file, which can be used to download or reuse the file.
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.
Video width and height (diameter of the video message) as defined by sender.
Duration of the video in seconds as defined by sender.
Optional. Video thumbnail.
Optional. File size in bytes.
Details
at line 18
__construct(string $file_id, string $file_unique_id, int $length, int $duration, PhotoSize|null $thumb = null, int|null $file_size = null)
No description
at line 31
string
getFileId()
Identifier for this file, which can be used to download or reuse the file.
at line 39
string
getFileUniqueId()
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.
at line 47
int
getLength()
Video width and height (diameter of the video message) as defined by sender.
at line 55
int
getDuration()
Duration of the video in seconds as defined by sender.
at line 63
PhotoSize|null
getThumb()
Optional. Video thumbnail.
at line 71
int|null
getFileSize()
Optional. File size in bytes.