MessageMediaWebPage#

class pyrogram.raw.types.MessageMediaWebPage#

Preview of webpage.

Constructor of MessageMedia.

Details:
  • Layer: 158

  • ID: A32DD600

Parameters:

webpage (WebPage) – Webpage preview.

Functions:

This object can be returned by 3 functions.

messages.GetWebPagePreview

Get preview of webpage.

messages.UploadMedia

Upload a file and associate it to a chat (without actually sending it to the chat).

messages.UploadImportedMedia

Upload a media file associated with an imported chat.