InputSingleMedia

class pyrogram.raw.types.InputSingleMedia

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

Constructor type of InputSingleMedia.

Details
  • Layer: 126

  • ID: 0x1cc6e91f

Parameters
  • media (InputMedia) – The media.

  • random_id (int 64-bit) – Unique client media ID required to prevent message resending.

  • message (str) – A caption for the media.

  • entities (List of MessageEntity, optional) – Message entities for styled text.