WebPagePreview

class pyrogram.types.WebPagePreview

A web page preview.

Parameters:
  • webpage (WebPageEmpty | WebPage) – Web Page Information.

  • force_large_media (bool, optional) – True, If the preview media size is forced to large.

  • force_small_media (bool, optional) – True, If the preview media size is forced to small.

  • is_safe (bool, optional) – True, If the webpage is considered safe by telegram.