documentAttributeVideo
Signature
Section titled “Signature”documentAttributeVideo#43c57c48 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 video_codec:flags.5?string = DocumentAttribute;Result type
Section titled “Result type”DocumentAttribute
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| round_message | flags.0?true | flags.0 | — | |
| supports_streaming | flags.1?true | flags.1 | — | |
| nosound | flags.3?true | flags.3 | — | |
| duration | double | — | — | |
| w | int | — | — | |
| h | int | — | — | |
| preload_prefix_size | flags.2?int | flags.2 | — | |
| video_start_ts | flags.4?double | flags.4 | — | |
| video_codec | flags.5?string | flags.5 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| round_message | 0 | Controlled by flags; present when this bit is set. |
| supports_streaming | 1 | Controlled by flags; present when this bit is set. |
| nosound | 3 | Controlled by flags; present when this bit is set. |
| preload_prefix_size | 2 | Controlled by flags; present when this bit is set. |
| video_start_ts | 4 | Controlled by flags; present when this bit is set. |
| video_codec | 5 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import DocumentAttributeVideoPublic access: miniproto.raw.types.DocumentAttributeVideo.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
DocumentAttribute - Related constructors:
documentAttributeAnimated,documentAttributeAudio,documentAttributeCustomEmoji,documentAttributeFilename,documentAttributeHasStickers,documentAttributeImageSize,documentAttributeSticker - Accepted by:
document,inputMediaUploadedDocument,inputWebDocument,webDocument,webDocumentNoProxy