Skip to content

inputMediaPhoto

No description provided by the pinned schema.

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 — No description provided by the pinned schema.
spoiler flags.1?true flags.1 — No description provided by the pinned schema.
live_photo flags.2?true flags.2 — No description provided by the pinned schema.
id InputPhoto — — No description provided by the pinned schema.
ttl_seconds flags.0?int flags.0 — No description provided by the pinned schema.
video flags.2?InputDocument flags.2 — No description provided by the pinned schema.
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.

from miniproto.raw.types import InputMediaPhoto
# Refer to the raw constructor class without constructing it or calling Telegram
constructor_type = InputMediaPhoto

InputMedia

  • tdlib_vs_core: changed_count=77; core_only_count=18; overlap_count=2338; tdlib_only_count=307
  • tdlib_vs_tdesktop: changed_count=0; overlap_count=2634; tdesktop_only=null; tdlib_only=accessPointRule, bots.setBotSettings, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret