PageBlockPhoto#

class pyrogram.raw.types.PageBlockPhoto#

A photo.

Constructor of PageBlock.

Details:
  • Layer: 158

  • ID: 1759C560

Parameters:
  • photo_id (int 64-bit) – Photo ID.

  • caption (PageCaption) – Caption.

  • url (str, optional) – HTTP URL of page the photo leads to when clicked.

  • webpage_id (int 64-bit, optional) – ID of preview of the page the photo leads to when clicked.