Available types

VideoNote

This object represents a video message (available in Telegram apps as of v.4.0).

fields

fieldtyperequireddescription
file_idstringrequiredIdentifier for this file, which can be used to download or reuse the file
file_unique_idstringrequiredUnique 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.
lengthnumberrequiredVideo width and height (diameter of the video message) as defined by the sender
durationnumberrequiredDuration of the video in seconds as defined by the sender
thumbnailPhotoSizeoptionalOptional. Video thumbnail
file_sizenumberoptionalOptional. File size in bytes

import

types.ts
import type { VideoNote } from "@yaebal/types";

used by

types