Skip to content

inputMediaPhoto

inputMediaPhoto#e3af4434 flags:# spoiler:flags.1?true live_photo:flags.2?true id:InputPhoto ttl_seconds:flags.0?int video:flags.2?InputDocument = InputMedia;

InputMedia

Name Type Flag Default Description
flags # flag word —
spoiler flags.1?true flags.1 —
live_photo flags.2?true flags.2 —
id InputPhoto — —
ttl_seconds flags.0?int flags.0 —
video flags.2?InputDocument flags.2 —
Parameter Bit Meaning
spoiler 1 Controlled by flags; present when this bit is set.
live_photo 2 Controlled by flags; present when this bit is set.
ttl_seconds 0 Controlled by flags; present when this bit is set.
video 2 Controlled by flags; present when this bit is set.
from miniproto.raw.types import InputMediaPhoto

Public access: miniproto.raw.types.InputMediaPhoto.

InputMedia

Schema sources