Raw.DocumentAttributeVideo
Defines a video
documentAttributeVideo#17399fad flags:# round_message:flags.0?true supports_streaming:flags.1?true nosound:flags.3?true duration:double w:int h:int preload_prefix_size:flags.2?int video_start_ts:flags.4?double = DocumentAttribute;
export namespace Raw {
export class DocumentAttributeVideo {
constructor(params: {
roundMessage?: boolean;
supportsStreaming?: boolean;
nosound?: boolean;
duration: number;
w: number;
h: number;
preloadPrefixSize?: number;
videoStartTs?: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x17399fad
Property
roundMessage
: boolean or undefinedWhether this is a round video
supportsStreaming
: boolean or undefinedWhether the video supports streaming
nosound
: boolean or undefinedWhether the specified document is a video file with no audio tracks (a gif animation (even as mpeg4), for example)
duration
: numberDuration in seconds
w
: numberVideo width
h
: numberVideo height
preloadPrefixSize
: number or undefinedNumber of bytes to preload when preloading videos (particularly video stories).
videoStartTs
: number or undefined