PageBlockPhoto

class pyrogram.raw.types.PageBlockPhoto

A photo

Constructor of PageBlock.

Details:
  • Layer: 223

  • 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

TL Schema

pageBlockPhoto#1759c560
flags:#
photo_id:long
caption:PageCaption
url:flags.0?string
webpage_id:flags.0?long

= PageBlock

Parameter Tree

PageBlockPhoto
├── photo_idlong
├── captionPageCaption
│ └── PageCaption
│ ├── textRichText
│ │ ├── TextEmpty
│ │ ├── TextPlain
│ │ │ └── textstring
│ │ ├── TextBold
│ │ │ └── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── TextItalic
│ │ │ └── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── TextUnderline
│ │ │ └── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── TextStrike
│ │ │ └── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── TextFixed
│ │ │ └── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── TextUrl
│ │ │ ├── textRichText
│ │ │ │ ├── TextEmpty
│ │ │ │ ├── TextPlain
│ │ │ │ ├── TextBold
│ │ │ │ ├── TextItalic
│ │ │ │ ├── TextUnderline
│ │ │ │ ├── TextStrike
│ │ │ │ ├── TextFixed
│ │ │ │ ├── TextUrl
│ │ │ │ ├── TextEmail
│ │ │ │ ├── TextConcat
│ │ │ │ ├── TextSubscript
│ │ │ │ ├── TextSuperscript
│ │ │ │ ├── TextMarked
│ │ │ │ ├── TextPhone
│ │ │ │ ├── TextImage
│ │ │ │ └── TextAnchor
│ │ │ ├── urlstring
│ │ │ └── webpage_idlong
│ │ ├── TextEmail
│ │ │ ├── textRichText
│ │ │ │ ├── TextEmpty
│ │ │ │ ├── TextPlain
│ │ │ │ ├── TextBold
│ │ │ │ ├── TextItalic
│ │ │ │ ├── TextUnderline
│ │ │ │ ├── TextStrike
│ │ │ │ ├── TextFixed
│ │ │ │ ├── TextUrl
│ │ │ │ ├── TextEmail
│ │ │ │ ├── TextConcat
│ │ │ │ ├── TextSubscript
│ │ │ │ ├── TextSuperscript
│ │ │ │ ├── TextMarked
│ │ │ │ ├── TextPhone
│ │ │ │ ├── TextImage
│ │ │ │ └── TextAnchor
│ │ │ └── emailstring
│ │ ├── TextConcat
│ │ │ └── textsVector < RichText >
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── TextSubscript
│ │ │ └── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── TextSuperscript
│ │ │ └── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── TextMarked
│ │ │ └── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── TextPhone
│ │ │ ├── textRichText
│ │ │ │ ├── TextEmpty
│ │ │ │ ├── TextPlain
│ │ │ │ ├── TextBold
│ │ │ │ ├── TextItalic
│ │ │ │ ├── TextUnderline
│ │ │ │ ├── TextStrike
│ │ │ │ ├── TextFixed
│ │ │ │ ├── TextUrl
│ │ │ │ ├── TextEmail
│ │ │ │ ├── TextConcat
│ │ │ │ ├── TextSubscript
│ │ │ │ ├── TextSuperscript
│ │ │ │ ├── TextMarked
│ │ │ │ ├── TextPhone
│ │ │ │ ├── TextImage
│ │ │ │ └── TextAnchor
│ │ │ └── phonestring
│ │ ├── TextImage
│ │ │ ├── document_idlong
│ │ │ ├── wint
│ │ │ └── hint
│ │ └── TextAnchor
│ │ ├── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ └── namestring
│ └── creditRichText
│ ├── TextEmpty
│ ├── TextPlain
│ │ └── textstring
│ ├── TextBold
│ │ └── textRichText
│ │ ├── TextEmpty
│ │ ├── TextPlain
│ │ ├── TextBold
│ │ ├── TextItalic
│ │ ├── TextUnderline
│ │ ├── TextStrike
│ │ ├── TextFixed
│ │ ├── TextUrl
│ │ ├── TextEmail
│ │ ├── TextConcat
│ │ ├── TextSubscript
│ │ ├── TextSuperscript
│ │ ├── TextMarked
│ │ ├── TextPhone
│ │ ├── TextImage
│ │ └── TextAnchor
│ ├── TextItalic
│ │ └── textRichText
│ │ ├── TextEmpty
│ │ ├── TextPlain
│ │ ├── TextBold
│ │ ├── TextItalic
│ │ ├── TextUnderline
│ │ ├── TextStrike
│ │ ├── TextFixed
│ │ ├── TextUrl
│ │ ├── TextEmail
│ │ ├── TextConcat
│ │ ├── TextSubscript
│ │ ├── TextSuperscript
│ │ ├── TextMarked
│ │ ├── TextPhone
│ │ ├── TextImage
│ │ └── TextAnchor
│ ├── TextUnderline
│ │ └── textRichText
│ │ ├── TextEmpty
│ │ ├── TextPlain
│ │ ├── TextBold
│ │ ├── TextItalic
│ │ ├── TextUnderline
│ │ ├── TextStrike
│ │ ├── TextFixed
│ │ ├── TextUrl
│ │ ├── TextEmail
│ │ ├── TextConcat
│ │ ├── TextSubscript
│ │ ├── TextSuperscript
│ │ ├── TextMarked
│ │ ├── TextPhone
│ │ ├── TextImage
│ │ └── TextAnchor
│ ├── TextStrike
│ │ └── textRichText
│ │ ├── TextEmpty
│ │ ├── TextPlain
│ │ ├── TextBold
│ │ ├── TextItalic
│ │ ├── TextUnderline
│ │ ├── TextStrike
│ │ ├── TextFixed
│ │ ├── TextUrl
│ │ ├── TextEmail
│ │ ├── TextConcat
│ │ ├── TextSubscript
│ │ ├── TextSuperscript
│ │ ├── TextMarked
│ │ ├── TextPhone
│ │ ├── TextImage
│ │ └── TextAnchor
│ ├── TextFixed
│ │ └── textRichText
│ │ ├── TextEmpty
│ │ ├── TextPlain
│ │ ├── TextBold
│ │ ├── TextItalic
│ │ ├── TextUnderline
│ │ ├── TextStrike
│ │ ├── TextFixed
│ │ ├── TextUrl
│ │ ├── TextEmail
│ │ ├── TextConcat
│ │ ├── TextSubscript
│ │ ├── TextSuperscript
│ │ ├── TextMarked
│ │ ├── TextPhone
│ │ ├── TextImage
│ │ └── TextAnchor
│ ├── TextUrl
│ │ ├── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── urlstring
│ │ └── webpage_idlong
│ ├── TextEmail
│ │ ├── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ └── emailstring
│ ├── TextConcat
│ │ └── textsVector < RichText >
│ │ ├── TextEmpty
│ │ ├── TextPlain
│ │ ├── TextBold
│ │ ├── TextItalic
│ │ ├── TextUnderline
│ │ ├── TextStrike
│ │ ├── TextFixed
│ │ ├── TextUrl
│ │ ├── TextEmail
│ │ ├── TextConcat
│ │ ├── TextSubscript
│ │ ├── TextSuperscript
│ │ ├── TextMarked
│ │ ├── TextPhone
│ │ ├── TextImage
│ │ └── TextAnchor
│ ├── TextSubscript
│ │ └── textRichText
│ │ ├── TextEmpty
│ │ ├── TextPlain
│ │ ├── TextBold
│ │ ├── TextItalic
│ │ ├── TextUnderline
│ │ ├── TextStrike
│ │ ├── TextFixed
│ │ ├── TextUrl
│ │ ├── TextEmail
│ │ ├── TextConcat
│ │ ├── TextSubscript
│ │ ├── TextSuperscript
│ │ ├── TextMarked
│ │ ├── TextPhone
│ │ ├── TextImage
│ │ └── TextAnchor
│ ├── TextSuperscript
│ │ └── textRichText
│ │ ├── TextEmpty
│ │ ├── TextPlain
│ │ ├── TextBold
│ │ ├── TextItalic
│ │ ├── TextUnderline
│ │ ├── TextStrike
│ │ ├── TextFixed
│ │ ├── TextUrl
│ │ ├── TextEmail
│ │ ├── TextConcat
│ │ ├── TextSubscript
│ │ ├── TextSuperscript
│ │ ├── TextMarked
│ │ ├── TextPhone
│ │ ├── TextImage
│ │ └── TextAnchor
│ ├── TextMarked
│ │ └── textRichText
│ │ ├── TextEmpty
│ │ ├── TextPlain
│ │ ├── TextBold
│ │ ├── TextItalic
│ │ ├── TextUnderline
│ │ ├── TextStrike
│ │ ├── TextFixed
│ │ ├── TextUrl
│ │ ├── TextEmail
│ │ ├── TextConcat
│ │ ├── TextSubscript
│ │ ├── TextSuperscript
│ │ ├── TextMarked
│ │ ├── TextPhone
│ │ ├── TextImage
│ │ └── TextAnchor
│ ├── TextPhone
│ │ ├── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ └── phonestring
│ ├── TextImage
│ │ ├── document_idlong
│ │ ├── wint
│ │ └── hint
│ └── TextAnchor
│ ├── textRichText
│ │ ├── TextEmpty
│ │ ├── TextPlain
│ │ ├── TextBold
│ │ ├── TextItalic
│ │ ├── TextUnderline
│ │ ├── TextStrike
│ │ ├── TextFixed
│ │ ├── TextUrl
│ │ ├── TextEmail
│ │ ├── TextConcat
│ │ ├── TextSubscript
│ │ ├── TextSuperscript
│ │ ├── TextMarked
│ │ ├── TextPhone
│ │ ├── TextImage
│ │ └── TextAnchor
│ └── namestring
├── urlstring (optional)
└── webpage_idlong (optional)

Example

PageBlockPhoto(
    photo_id=0,
    caption=PageCaption(
        text=TextEmpty(),
        credit=TextEmpty()
    ),
)