mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
932 B
932 B
title | description | nav_exclude | image |
---|---|---|---|
inputMediaPhoto | Forwarded photo | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputMediaPhoto
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];