Skip to content

inputMediaDocument

inputMediaDocument#a8763ab5 flags:# spoiler:flags.2?true id:InputDocument video_cover:flags.3?InputPhoto video_timestamp:flags.4?int ttl_seconds:flags.0?int query:flags.1?string = InputMedia;

InputMedia

Name Type Flag Default Description
flags # flag word —
spoiler flags.2?true flags.2 —
id InputDocument — —
video_cover flags.3?InputPhoto flags.3 —
video_timestamp flags.4?int flags.4 —
ttl_seconds flags.0?int flags.0 —
query flags.1?string flags.1 —
Parameter Bit Meaning
spoiler 2 Controlled by flags; present when this bit is set.
video_cover 3 Controlled by flags; present when this bit is set.
video_timestamp 4 Controlled by flags; present when this bit is set.
ttl_seconds 0 Controlled by flags; present when this bit is set.
query 1 Controlled by flags; present when this bit is set.
from miniproto.raw.types import InputMediaDocument

Public access: miniproto.raw.types.InputMediaDocument.

InputMedia

Schema sources