Constructor: inputMediaDocument

Back to constructors index

Forwarded document


Name Type Required Description
id MessageMedia, Message, Update or InputDocument Optional The document to be forwarded.
ttl_seconds int Optional Time to live of self-destructing document

Type: InputMedia


$inputMediaDocument = ['_' => 'inputMediaDocument', 'id' => InputDocument, 'ttl_seconds' => int];

Or, if you’re into Lua:

inputMediaDocument={_='inputMediaDocument', id=InputDocument, ttl_seconds=int}

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