TELYX
What are you looking for?

An icon name, emoji or documentation topic.

Tab — select · Enter — open · Esc — close
TELYX / DOCS

Markup

Short tags become Telegram HTML.

Rendering

Escape plain text when handling user input.

Python
import telyx as tx

text = tx.render("<tx-wallet> Баланс")
text = tx.render("<tx-wallet> A & B", escape_text=True)

JavaScript

HTML is for messages, not button text.

TypeScript
import { tx } from "@telyx/core";

const text = tx.render("<tx-wallet> Баланс", { escapeText: true });