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 #
| 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. See here » for more info on random ID deduplication and updateMessageID mapping. |
| message | string | A caption for the media |
| entities | flags.0?Vector<MessageEntity> | Message entities for styled text |
Type #
Related pages #
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¶