PageBlockEmbed#

class pyrogram.raw.types.PageBlockEmbed#

An embedded webpage.

Constructor of PageBlock.

Details:
  • Layer: 158

  • ID: A8718DC5

Parameters:
  • caption (PageCaption) – Caption.

  • full_width (bool, optional) – Whether the block should be full width.

  • allow_scrolling (bool, optional) – Whether scrolling should be allowed.

  • url (str, optional) – Web page URL, if available.

  • html (str, optional) – HTML-markup of the embedded page.

  • poster_photo_id (int 64-bit, optional) – Poster photo, if available.

  • w (int 32-bit, optional) – Block width, if known.

  • h (int 32-bit, optional) – Block height, if known.