telegramx.js

RichBlockSectionHeading

interface

A section heading, corresponding to the HTML tags , , , , , or .

Declaration

interface RichBlockSectionHeading 

Properties

sizeproperty#
size: number;

Relative size of the text font; 1-6, 1 is the largest, 6 is the smallest

textproperty#
text: RichText;

Text of the block

typeproperty#
type: 'heading';

Type of the block, always "heading"