WebPage

class pyrogram.api.types.WebPage(id: int, url: str, display_url: str, hash: int, type: str = None, site_name: str = None, title: str = None, description: str = None, photo=None, embed_url: str = None, embed_type: str = None, embed_width: int = None, embed_height: int = None, duration: int = None, author: str = None, document=None, cached_page=None)
ID

0x5f07b4bc

Parameters:
  • idint 64-bit
  • urlstr
  • display_urlstr
  • hashint 32-bit
  • type (optional) – str
  • site_name (optional) – str
  • title (optional) – str
  • description (optional) – str
  • photo (optional) – Either PhotoEmpty or Photo
  • embed_url (optional) – str
  • embed_type (optional) – str
  • embed_width (optional) – int 32-bit
  • embed_height (optional) – int 32-bit
  • duration (optional) – int 32-bit
  • author (optional) – str
  • document (optional) – Either DocumentEmpty or Document
  • cached_page (optional) – Page

See also

This object can be returned by messages.GetWebPage.