Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/meinside/telegram-bot-go
Telegram Bot API wrapper for Golang
https://github.com/meinside/telegram-bot-go
golang telegram-bot-api wasm webhook
Last synced: 3 days ago
JSON representation
Telegram Bot API wrapper for Golang
- Host: GitHub
- URL: https://github.com/meinside/telegram-bot-go
- Owner: meinside
- License: other
- Created: 2015-10-08T10:29:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-01-10T08:06:59.000Z (16 days ago)
- Last Synced: 2025-01-16T10:23:33.798Z (10 days ago)
- Topics: golang, telegram-bot-api, wasm, webhook
- Language: Go
- Homepage:
- Size: 417 KB
- Stars: 43
- Watchers: 7
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-ccamel - meinside/telegram-bot-go - Telegram Bot API wrapper for Golang (Go)
README
# Telegram Bot API helper for Golang
This package is for building Telegram Bots with or without webhook interface.
View the [documentation here](https://pkg.go.dev/github.com/meinside/telegram-bot-go).
## How to get
```
$ go get -u github.com/meinside/telegram-bot-go
```## Usage
See codes in [samples/](https://github.com/meinside/telegram-bot-go/tree/master/samples).
## Test
With following environment variables:
```bash
$ export TOKEN="01234567:abcdefghijklmn_ABCDEFGHIJKLMNOPQRST"
$ export CHAT_ID="-123456789"# for verbose output messages
$ export VERBOSE=true
```run tests with:
```bash
$ go test
```## Not implemented (yet)
- [ ] [Telegram Passport](https://core.telegram.org/bots/api#telegram-passport)
- [ ] [Seamless Telegram Login](https://telegram.org/blog/privacy-discussions-web-bots#meet-seamless-web-bots)
- [ ] [Payments 2.0](https://core.telegram.org/bots/payments)
- [ ] [Telegram Mini Apps](https://core.telegram.org/bots/webapps)## Todos
- [ ] (WIP) Add tests for every API method