PageBlockEmbed

class pyrogram.raw.types.PageBlockEmbed

An embedded webpage

Constructor of PageBlock.

Details:
  • Layer: 223

  • 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

TL Schema

pageBlockEmbed#a8718dc5
flags:#
full_width:flags.0?true
allow_scrolling:flags.3?true
url:flags.1?string
html:flags.2?string
poster_photo_id:flags.4?long
w:flags.5?int
h:flags.5?int
caption:PageCaption

= PageBlock

Parameter Tree

PageBlockEmbed
├── full_widthtrue (optional)
├── allow_scrollingtrue (optional)
├── urlstring (optional)
├── htmlstring (optional)
├── poster_photo_idlong (optional)
├── wint (optional)
├── hint (optional)
└── 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

Example

PageBlockEmbed(
    caption=PageCaption(
        text=TextEmpty(),
        credit=TextEmpty()
    ),
)