inputSingleMedia #

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

Layer 223

inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector<MessageEntity> = InputSingleMedia;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
mediaInputMediaThe media
random_idlongUnique client media ID required to prevent message resending. See here » for more info on random ID deduplication and updateMessageID mapping.
messagestringA caption for the media
entitiesflags.0?Vector<MessageEntity>Message entities for styled text

Type #

InputSingleMedia

Working with Updates #

How to subscribe to updates and handle them properly.

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