get_extended_media()

async Client.get_extended_media()

Request extended media for paid media messages.

Usable by Users Bots
Parameters:
  • chat_id (int | str) – Unique identifier (int) or username (str) of the target chat.

  • message_ids (List of int) – The IDs of the messages containing paid media.

Returns:

Updates – The updates object with extended media.

Example

await app.get_extended_media(chat_id, [123, 456])