ChatCrawlersearch across public Telegram Open the app
T

TypeScript Ecosystem

сообщение · 2026-01-29 19:53 UTC
W
Lol can you imagine? import { Bot, Command, Message, InlineKeyboard, Button, useChat, useState } from 'telegram-react'; function CounterBot() { const [count, setCount] = useState(0); const chat = useChat(); // current chat context return ( <Command name="counter"> <Message> Count: {count} </Message> <InlineKeyboard> <Button onClick={() => setCount(c => c - 1)}>➖</Button> <Button onClick={() => setCount(c => c + 1)}>➕</Button> </InlineKeyboard> </Command> ); } // Multi-step flows become trivial function OnboardingFlow() { const [step, setStep] = useState(0); if (step === 0) return <NamePrompt onComplete={() => setStep(1)} />; if (step === 1) return <EmailPrompt onComplete={() => setStep(2)} />; return <Confirmation />; }

Вся лента · оригинал в Telegram

Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog