telegramx.js

RichBlockPreformatted

interface

A preformatted text block, corresponding to the nested HTML tags and .

Declaration

interface RichBlockPreformatted 

Properties

languageproperty#
language?: string;

Optional. The programming language of the text

textproperty#
text: RichText;

Text of the block

typeproperty#
type: 'pre';

Type of the block, always "pre"