1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-04 10:47:54 +01:00
MadelineProto/docs/API_docs/constructors/inputSingleMedia.md
2017-11-15 12:41:58 +00:00

693 B

title description
inputSingleMedia inputSingleMedia attributes, type and example

Constructor: inputSingleMedia

Back to constructors index

Attributes:

Name Type Required
media InputMedia Yes

Type: InputSingleMedia

Example:

$inputSingleMedia = ['_' => 'inputSingleMedia', 'media' => InputMedia];

PWRTelegram json-encoded version:

{"_": "inputSingleMedia", "media": InputMedia}

Or, if you're into Lua:

inputSingleMedia={_='inputSingleMedia', media=InputMedia}