MadelineProtoDocs/docs/API_docs/constructors/inputMediaPhoto.md
2024-05-01 14:53:46 +02:00

932 B

title description nav_exclude image
inputMediaPhoto Forwarded photo true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputMediaPhoto

Back to constructors index

Forwarded photo

Attributes:

Name Type Required Description
spoiler Bool Optional Whether this media should be hidden behind a spoiler warning
id MessageMedia, Message, Update or InputPhoto Optional Photo to be forwarded
ttl_seconds int Optional Time to live in seconds of self-destructing photo

Type: InputMedia

Example:

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