Telegraf
Telegram bots on Node.js.
Installation
npm install @telyx/core telegrafPackages are built locally; PyPI/npm publication is still pending.
Message
Inside your bot's handler; ctx comes from the framework.
TypeScript
import { tx } from "@telyx/core";
await ctx.reply(`${tx.wallet} Баланс: 500`, { parse_mode: "HTML" });
await ctx.reply(tx.render("<tx-circle-check> Оплачено"), { parse_mode: "HTML" });Telegram requirements
Custom emoji availability depends on Telegram: the owner's Premium and sending context, or additional Fragment usernames. HTML is only for messages; button labels are plain text.