This is a simple code for implement Telegram Bot with Golang
Just Relax, and install Go Language in your system.
git clone https://github.com/naufalziyad/Go-Tele-Bot.git
Install package go telegram bot
go get github.com/go-telegram-bot-api/telegram-bot-api
Put Your Key API from telegram to file config.go
const (
YOUR_KEY_API = "HERE YOUR BOT TELEGRAM API KEY"
)
if you dont have KEY API, please open your Telegram and search "BotFather" and then start with command
/start
next make a new bot
/newbot
Then your BOT NAME, example
/hawkeye-bot
Gotcha, Use token to access the HTTP API:
Just run using command
go run main.go
- Naufal Ziyad Luthfiansyah -(https://github.com/naufalziyad)
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
