https://github.com/gotd/botapi
WIP Telegram Bot API server in Go
https://github.com/gotd/botapi
bot-api go golang gotd mtproto telegram
Last synced: about 1 month ago
JSON representation
WIP Telegram Bot API server in Go
- Host: GitHub
- URL: https://github.com/gotd/botapi
- Owner: gotd
- License: mit
- Created: 2021-07-17T19:03:33.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-22T11:25:30.000Z (about 1 year ago)
- Last Synced: 2025-01-22T12:24:55.411Z (about 1 year ago)
- Topics: bot-api, go, golang, gotd, mtproto, telegram
- Language: Go
- Homepage:
- Size: 2.57 MB
- Stars: 26
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: .github/SECURITY.md
- Support: .github/SUPPORT.md
Awesome Lists containing this project
README
# botapi
The telegram-bot-api, but in go. WIP.
* [API Reference](https://core.telegram.org/bots/api)
* [Reference implementation](https://github.com/tdlib/telegram-bot-api)
* [Generated OpenAPI v3 Schema](./_oas/openapi.json)
## Features
* Parsing of API documentation with defaults, format, enum and constraints inference
* OpenAPI v3 specification generation
* Server and Client generation based on OpenAPI v3 specification
## Roadmap
- [x] Parse definition
- [x] Generate OpenAPI v3 Specification
- [x] Generate client and server from OpenAPi v3 using [ogen](https://github.com/ogen-go/ogen)
- [x] Infer enums
- [ ] Infer defaults
- [ ] Use rich text for documentation
- [ ] More links to documentation
- [ ] Support Emoji