inputSingleMedia

A single media in an album or grouped media sent with messages.sendMultiMedia.

Constructor schema is available as of layer 75. Switch ยป

Parameters

Name Type Description
flags # Flags, see TL conditional fields
media InputMedia The media
random_id long Unique client media ID required to prevent message resending
message string A caption for the media
entities flags.0?Vector<MessageEntity> Message entities for styled text

Type

InputSingleMedia

Related pages

Styled text with message entities

How to create styled text with message entities

Uploading and Downloading Files

How to transfer large data batches correctly.

messages.sendMultiMedia

Send an album or grouped media