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}