InputRichBlockSectionHeading

class pyrogram.types.InputRichBlockSectionHeading[source]

A section heading block, corresponding to the HTML tags <h1> through <h6>.

Parameters:
  • text (str | RichText) – Text of the block.

  • size (int) – Relative size of the text font, 1-6. 1 is the largest, 6 is the smallest.