Ref #5
This commit adds the /getIP telegram command that allows asking for the
current public IP that the bot has stored.
As it is just a working version and the telegram API is not yet
complete, this command is not yet really tested. I need to provide a
more stable version of my Telegram API beforehand because as of now it's
just a mess really, but this will do for now.
Ref #4
This commit adds an active monitoring of the current public IP. If a
change is detected, then a message is sent to the given Telegram
channel. Add a few tests for the main monitoring logic.
Ref #3
This commit uses a GET query to ifconfig.me in order to get the current
public IP. It also modifies the initialization message to send the
current public IP to the Telegram channel instead of a simple message.
Ref #2
This commit adds a link to a Go Telegram API to send messages to a given
telegram channel provided with a JSON config file. At the moment the
program sends a simple status message to the bot when starting up, but
this allows testing whether the link to Telegram is correctly working.