messages.SendMultiMedia

class pyrogram.raw.functions.messages.SendMultiMedia

Send an album or grouped media

Details:
  • Layer: 187

  • ID: 37B74355

Parameters:
  • peer (InputPeer) – The destination chat

  • multi_media (List of InputSingleMedia) – The medias to send: note that they must be separately uploaded using messages.uploadMedia first, using raw inputMediaUploaded* constructors is not supported.

  • silent (bool, optional) – Whether to send the album silently (no notification triggered)

  • background (bool, optional) – Send in background?

  • clear_draft (bool, optional) – Whether to clear drafts

  • noforwards (bool, optional) – Only for bots, disallows forwarding and saving of the messages, even if the destination chat doesn’t have content protection enabled

  • update_stickersets_order (bool, optional) – Whether to move used stickersets to top, see here for more info on this flag »

  • invert_media (bool, optional) – If set, any eventual webpage preview will be shown on top of the message instead of at the bottom.

  • reply_to (InputReplyTo, optional) – If set, indicates that the message should be sent in reply to the specified message or story.

  • schedule_date (int 32-bit, optional) – Scheduled message date for scheduled messages

  • send_as (InputPeer, optional) – Send this message as the specified peer

  • quick_reply_shortcut (InputQuickReplyShortcut, optional)

  • effect (int 64-bit, optional)

Returns:

Updates