telegramx.js

RichTextAnchorLink

interface

A link to an anchor.

Declaration

interface RichTextAnchorLink 

Properties

anchor_nameproperty#
anchor_name: string;

The name of the anchor. If the name is empty, then the link brings back to the top of the message.

textproperty#
text: RichText;

The link text

typeproperty#
type: 'anchor_link';

Type of the rich text, always "anchor_link"