PageBlockPhoto

class pyrogram.raw.types.PageBlockPhoto

A photo.

Constructor type of PageBlock.

Details
  • Layer: 126

  • ID: 0x1759c560

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.