RichTextAnchorLink
A link to an anchor.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the rich text, always “anchor_link” |
text | RichText | required | The link text |
anchor_name | string | required | The name of the anchor. If the name is empty, then the link brings back to the top of the message. |
import
import type { RichTextAnchorLink } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#richtextanchorlink