illuminate
所属分类:聊天室
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2024-01-28 12:37:48
上 传 者:
sh-1993
说明: 强大的电报机器人框架
(Powerful Telegram Bot Framework)
文件列表:
examples/
log/
plugin/
router/
LICENSE
bot.go
bot_ext.go
custom_helpers.go
entities.go
formatting.go
gen_consts.go
gen_helpers.go
gen_methods.go
gen_types.go
gen_types_test.go
go.mod
go.sum
menu.go
menu_test.go
request.go
sender.go
# Golang Telegram Bot Fremework
[![Test](https://github.com/kbgod/illuminate/actions/workflows/test.yml/badge.svg)](https://github.com/kbgod/illuminate/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/kbgod/illuminate/graph/badge.svg?token=VHJJZGTWUI)](https://codecov.io/gh/kbgod/illuminate)
Based on [paulsonoflars/gotgbot](https://github.com/paulsonoflars/gotgbot) types generation and inspired by [mr-linch/go-tg](https://github.com/mr-linch/go-tg)
All the telegram types and methods are generated from
[a bot api spec](https://github.com/PaulSonOfLars/telegram-bot-api-spec). These are generated in the `gen_*.go` files.
## Features:
- All telegram API types and methods are generated from the bot api docs, which makes this library:
- Guaranteed to match the docs
- Easy to update
- Self-documenting (Re-uses pre-existing telegram docs)
- Type safe; no weird interface{} logic, all types match the bot API docs.
- No third party library bloat; only uses standard library.
- Updates are each processed in their own go routine, encouraging concurrent processing, and keeping your bot
responsive.
- Code panics are automatically recovered from and logged, avoiding unexpected downtime.
## Getting started
Download the library with the standard `go get` command:
```bash
go get github.com/kbgod/illuminate
```
### Example bots
*in progress...*
### Quick start
You can find a quick start guide [here](https://github.com/kbgod/tg-bot-layout).
## Docs
Docs can be found [here](https://pkg.go.dev/github.com/kbgod/illuminate).
## Contributing
*in progress...*
近期下载者:
相关文件:
收藏者: