Optional
captionCaption of the media
Optional
durationDuration of the video in seconds
Only applicable to newly uploaded files.
File to be sent
Optional
fileOverride MIME type for the file
Only applicable to newly uploaded files.
Optional
fileOverride file name for the file.
Only applicable to newly uploaded files.
Optional
fileOverride file size for the file
Only applicable to newly uploaded files.
Optional
heightHeight of the video in pixels
Only applicable to newly uploaded files.
Optional
isWhether this video is an animated GIF
Only applicable to newly uploaded files.
Optional
isWhether this video is a round message (aka video note)
Only applicable to newly uploaded files.
Optional
spoilerWhether this video should be hidden with a spoiler
Optional
supportsWhether the video is suitable for streaming
Only applicable to newly uploaded files.
Optional
thumbThumbnail of the video.
The thumbnail should be in JPEG format and less than 200 KB in size. A thumbnail's width and height should not exceed 320 pixels. Thumbnails can't be reused and can be only uploaded as a new file.
Only applicable to newly uploaded files.
Optional
ttlTTL for the media in seconds.
Only applicable to some media types
Optional
widthWidth of the video in pixels
Only applicable to newly uploaded files.
A video to be sent