InputRichBlockPreformatted¶ class pyrogram.types.InputRichBlockPreformatted[source]¶ A preformatted text block, corresponding to the HTML tag <pre>. Parameters: text (str | RichText) – Text of the block. language (str) – Language of the code block (e.g. python, javascript).