A minimal implementation of a telegram bot for receiving and sending messages in pure Go. Use this as an initial template for your cool bots.
- Clone this repo
git clone https://github.com/cheatsnake/telegram-bot-go.git
cd ./telegram-bot-go
- Build application binary
make build
- Run it
./main "paste_your_token_here"
- Start building proccess:
make docker-build
- Running a container with the specified token:
make docker-start BOT_TOKEN="paste_your_token_here"
To stop the container and delete it use:
make docker-stop