1.2 KiB
1.2 KiB
title | description | image |
---|---|---|
inputSingleMedia | A single media in an album sent with [messages.sendMultiMedia](../methods/messages.sendMultiMedia.md). | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputSingleMedia
A single media in an album sent with messages.sendMultiMedia.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
media | MessageMedia, Message, Update or InputMedia | Optional | The media |
message | string | Yes | A caption for the media |
entities | Array of MessageEntity | Optional | Message entities for styled text |
Type: InputSingleMedia
Example:
$inputSingleMedia = ['_' => 'inputSingleMedia', 'media' => InputMedia, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]];
Or, if you're into Lua:
inputSingleMedia={_='inputSingleMedia', media=InputMedia, message='string', entities={MessageEntity}}