InputSingleMedia

class pyrogram.raw.types.InputSingleMedia

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

Constructor of InputSingleMedia.

Details:
  • Layer: 194

  • ID: 1CC6E91F

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