# @react-telegram/core Core React reconciler for building Telegram bots with React components. ## Installation ```bash bun add @react-telegram/core react ``` ## Usage ```tsx import { createContainer } from '@react-telegram/core'; const { render, container } = createContainer(); const App = () => ( <> Hello Telegram!
Built with React ); render(); console.log(container.root); ``` ## Supported Elements ### Text Formatting - ``, `` - Bold text - ``, `` - Italic text - ``, `` - Underlined text - ``, ``, `` - Strikethrough text - `` - Inline code - `
` - Code blocks
- `
` - Line breaks ### Telegram-specific - `` - Spoiler text - `` - Custom emoji - `
` - Quotes (with optional `expandable` prop) - `` - Links ### Interactive Elements - `