messageMediaDocument

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

messageMediaDocument#9cb070d7 flags:# document:flags.0?Document ttl_seconds:flags.2?int = MessageMedia;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
nopremium flags.3?true Whether this is a normal sticker, if not set this is a premium sticker and a premium sticker animation must be played.
spoiler flags.4?true Whether this media should be hidden behind a spoiler warning
video flags.6?true Whether this is a video.
round flags.7?true Whether this is a round video.
voice flags.8?true Whether this is a voice message.
document flags.0?Document Attached document
alt_documents flags.5?Vector<Document> Videos only, contains alternative qualities of the video.
ttl_seconds flags.2?int Time to live of self-destructing document

Type

MessageMedia