A Telegram Bot for collecting the photos of your children
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

608 B

The Photo-Album Bot for Telegram

Compilation

go get -u github.com/go-telegram-bot-api/telegram-bot-api
go get -u github.com/spf13/viper
go get -u gopkg.in/yaml.v2

Create a Bot

Talk to BotFather to create your bot.

/newbot

Keep your bot token secure and safe!

Create the configuration file

Create a file named photo-bot.yaml in the current directory.

TelegramToken: "bot.token.here"
TelegramDebug: true
TargetDir: /srv/photos
AuthorizedUsers:
- john
- jane

Documentation