Constructor: inputMediaPhoto

Back to constructors index

Media photo

Attributes:

Name Type Required Description
id MessageMedia, Message, Update or InputPhoto Optional ID
ttl_seconds int Optional Ttl seconds

Type: InputMedia

Example:

$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'ttl_seconds' => int];

Or, if you’re into Lua:

inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, ttl_seconds=int}

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