mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-13 18:07:39 +01:00
693 B
693 B
title | description |
---|---|
inputSingleMedia | inputSingleMedia attributes, type and example |
Constructor: inputSingleMedia
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}