# @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 - `` - Inline keyboard buttons - `` - Button row container - `` - Text input handler ## TypeScript Support This package includes full TypeScript definitions. The JSX elements are automatically typed when you import the package. ## License MIT
` - Inline code - `` - Code blocks - `` - Line breaks ### Telegram-specific - `` - Spoiler text - `` - Custom emoji - `` - Quotes (with optional `expandable` prop) - `` - Links ### Interactive Elements - `` - Inline keyboard buttons - `` - Button row container - `` - Text input handler ## TypeScript Support This package includes full TypeScript definitions. The JSX elements are automatically typed when you import the package. ## License MIT
` - Code blocks - `` - Line breaks ### Telegram-specific - `` - Spoiler text - `` - Custom emoji - `` - Quotes (with optional `expandable` prop) - `` - Links ### Interactive Elements - `` - Inline keyboard buttons - `` - Button row container - `` - Text input handler ## TypeScript Support This package includes full TypeScript definitions. The JSX elements are automatically typed when you import the package. ## License MIT
` - Quotes (with optional `expandable` prop) - `` - Links ### Interactive Elements - `` - Inline keyboard buttons - `` - Button row container - `` - Text input handler ## TypeScript Support This package includes full TypeScript definitions. The JSX elements are automatically typed when you import the package. ## License MIT