MadelineProtoDocs/old_docs/API_docs_v25/constructors/inputMediaPhoto.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

786 B

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

Constructor: inputMediaPhoto

Back to constructors index

Media photo

Attributes:

Name Type Required Description
id MessageMedia, Message, Update or InputPhoto Optional ID

Type: InputMedia

Example:

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

PWRTelegram json-encoded version:

{"_": "inputMediaPhoto", "id": InputPhoto}

Or, if you're into Lua:

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