messages.WebPagePreview#

class pyrogram.raw.types.messages.WebPagePreview#

Represents a webpage preview.

Constructor of WebPagePreview.

Details:
  • Layer: 220

  • ID: 8C9A88AC

Parameters:
  • media (MessageMedia) – The messageMediaWebPage or a messageMediaEmpty if there is no preview.

  • chats (List of Chat) – Chats mentioned in the gift field.

  • users (List of User) – Users mentioned within the media object.

Functions:

This object can be returned by 1 function.

messages.GetWebPagePreview

Get preview of webpage