Ui
UI controls for Telegram Bot API go framework
Install / Use
/learn @go-telegram/UiREADME
Go Telegram Bot UI
The project is under development. API may be changed before v1.0.0 version.
UI controls for telegram bot go-telegram/bot
- datepicker
- inline keyboard
- reply keyboard
- paginator
- slider
- progress
- dialog
- timepicker (todo)
Feel to free to contribute and issues!
Getting Started
go get github.com/go-telegram/bot
go get github.com/go-telegram/ui
Important
UI components register own bot handlers on init. If you restart the bot instance, inline buttons in already opened components can't work.
For solving this issue, you should use bot.WithPrefix option for instance of widgets.
Example:
picker := datepicker.New(
b,
onDatepickerSimpleSelect,
datepicker.WithPrefix("datepicker-simple"),
)
Live demo
You can run demo bot from examples folder.
Before start, you should set EXAMPLE_TELEGRAM_BOT_TOKEN environment variable to your bot token.
go run examples/*.go
Also, you can try online version of this bot right now.
DatePicker

- custom localizations
- define include/exclude dates
Inline Keyboard

Small helper for easy building of inline keyboard.
Reply Keyboard

Small helper for easy building of a reply keyboard markup.
Paginator

- pass any slice of strings
- set perPage value
- set custom lines separator
Slider

- pass slides with images and text
Progress

Progress bar for long tasks
Dialog

Simple dialogs
Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
