meinside / telegram-bot-go

Telegram Bot API wrapper for Golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Telegram Bot API helper for Golang

This package is for building Telegram Bots with or without webhook interface.

View the documentation here.

How to get

$ go get -u github.com/meinside/telegram-bot-go

Usage

See codes in samples/.

Test

With following environment variables:

$ export TOKEN="01234567:abcdefghijklmn_ABCDEFGHIJKLMNOPQRST"
$ export CHAT_ID="-123456789"

# for verbose output messages
$ export VERBOSE=true

run tests with:

$ go test

Not implemented yet

Todo

  • Add tests for every API method

License

MIT

About

Telegram Bot API wrapper for Golang

License:Other


Languages

Language:Go 100.0%