[!NOTE] This README was generated by SKILL, get the ZH version from here.
BUILD BOTS THAT FIT EVERY CHAT PLATFORM
A Go chat-bot library with unified replies, native interactions, and cross-platform media delivery
Table of Contents
Features
go get github.com/pardnchiu/go-bot· Documentation
- Platform-native lifecycles — Telegram polling, Discord Gateway, and LINE webhooks retain each platform’s operating model behind consistent bot APIs.
- Synchronous reply contract — Register one
Replyhandler; a non-empty return value is sent as the reply to the triggering message. - Interaction primitives — Telegram keyboards and ForceReply plus Discord select menus and modals route user input back into the same handler model.
- Media without boilerplate — Send and persist platform media with streaming uploads, size caps, UUID filenames, and contextual cancellation.
- Managed status updates — Per-chat or per-channel thinking messages debounce edits and clean up reactions when work completes.
Architecture
graph TB
App[Application] --> TG[telegram]
App --> DC[discord]
App --> LN[line]
TG --> TTS[tts]
DC --> TTS
TG --> TelegramAPI[Telegram API]
DC --> DiscordAPI[Discord Gateway/API]
LN --> LineAPI[LINE Webhook/API]
License
This project is licensed under the MIT LICENSE.
Author
邱敬幃 Pardn Chiu
hi@pardn.io
https://www.linkedin.com/in/pardnchiu
©️ 2026 邱敬幃 Pardn Chiu