telegram api constructor · layer 229 · #52d8ccd9

messageMediaDocument

Document (video, audio, voice, sticker, any media type except photo)

definition

messageMediaDocument#52d8ccd9 flags:# nopremium:flags.3?true spoiler:flags.4?true video:flags.6?true round:flags.7?true voice:flags.8?true document:flags.0?Document alt_documents:flags.5?Vector<Document> video_cover:flags.9?Photo video_timestamp:flags.10?int ttl_seconds:flags.2?int = MessageMedia;

parameters

nametypedescription
flags#Flags, see TL conditional fields
nopremiumflags.3?trueWhether this is a normal sticker, if not set this is a premium sticker and a premium sticker animation must be played.
spoilerflags.4?trueWhether this media should be hidden behind a spoiler warning
videoflags.6?trueWhether this is a video.
roundflags.7?trueWhether this is a round video.
voiceflags.8?trueWhether this is a voice message.
documentflags.0?DocumentAttached document
alt_documentsflags.5?Vector<Document>Videos only, contains alternative qualities of the video.
video_coverflags.9?PhotoCustom video cover.
video_timestampflags.10?intStart playing the video at the specified timestamp (seconds).
ttl_secondsflags.2?intTime to live of self-destructing document

type

MessageMedia · 18 other constructors

history

present in layers 10–229 · constructor id changed 6×

idlayers
#2fda220410–23
#f3e02ea846–68
#7c4414d370–75
#9cb070d776–159
#4cf4d72d160–187
#dd570bd5188–197
#52d8ccd9198–229