Constructor: messageMediaDocument

Back to constructors index

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


Name Type Required Description
document Document Optional Attached document
ttl_seconds int Optional Time to live of self-destructing document

Type: MessageMedia


$messageMediaDocument = ['_' => 'messageMediaDocument', 'document' => Document, 'ttl_seconds' => int];

Or, if you’re into Lua:

messageMediaDocument={_='messageMediaDocument', document=Document, ttl_seconds=int}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.