{"repo":"go-telegram/ui","free":true,"listed":false,"github":"https://github.com/go-telegram/ui","clone":"git clone https://github.com/go-telegram/ui.git","description":"UI controls for Telegram Bot API go framework","language":"Go","stars":223,"topics":["go","telegram","telegram-bot","telegram-bot-api"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Go Telegram Bot UI The project is under development. API may be changed before v1.0.0 version. Telegram Group 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 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: 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. Also, you can try online version of this bot right now. DatePicker - custom localizations - define include/exclude dates Documentation Inline Keyboard Small helper for easy building of inline keyboard. Documentation Reply Keyboard Small helper for easy building of a reply keyboard markup. Documentation Paginator - pass any slice of strings - set perPage value - set custom lines separator Documentation Slider - pass slides with images and text Documentation Progress Progress bar for long tasks Documentation Dialog Simple dialogs Documentation","default_branch":null,"files":null,"tree":[],"storefront":"/r/go-telegram","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/go-telegram/ui/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}