outsourced main method of ip refresh and added some doc

This commit is contained in:
max committed 2019-08-02 22:44:42 +02:00
1 parent 700d7912df
commit f325c3a371
8 files changed
+82 -43

No files matched your search

+9 -2
View File
@@ -16,7 +16,14 @@ public:
*/
void sendMessage(std::string text);
/**
* init Telegram api with apikey and chatid
* @param apikey recieved API key
* @param chatid chatid where bot should post into
*/
void init(std::string apikey, std::string chatid);
private:
const std::string apikey = "717213769:AAHan1nSXhUsxLJAN1Dv8Oc0z8wqwDdYPn4";
const std::string chatid = "618154204";
std::string apikey;
std::string chatid;
};