866 B
866 B
title | description | image |
---|---|---|
inputMediaPhoto | Media photo | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputMediaPhoto
Media photo
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | MessageMedia, Message, Update or InputPhoto | Optional | ID |
caption | string | Yes | Caption |
ttl_seconds | int | Optional | Ttl seconds |
Type: InputMedia
Example:
$inputMediaPhoto = ['_' => 'inputMediaPhoto', 'id' => InputPhoto, 'caption' => 'string', 'ttl_seconds' => int];
Or, if you're into Lua:
inputMediaPhoto={_='inputMediaPhoto', id=InputPhoto, caption='string', ttl_seconds=int}