From 846a32ee7e4ee7dce4538ed79dbbf9cdbed63190 Mon Sep 17 00:00:00 2001 From: lukas-heiligenbrunner Date: Wed, 8 May 2019 19:19:42 +0200 Subject: [PATCH] added telegram api support to send message on ip update --- .idea/workspace.xml | 170 ++++++++++++++++++++++++++-------------- CMakeLists.txt | 15 +++- src/{ => api}/API.cpp | 2 +- src/{ => api}/API.h | 2 +- src/api/TelegramAPI.cpp | 10 +++ src/api/TelegramAPI.h | 22 ++++++ src/main.cpp | 6 +- 7 files changed, 162 insertions(+), 65 deletions(-) rename src/{ => api}/API.cpp (98%) rename src/{ => api}/API.h (94%) create mode 100644 src/api/TelegramAPI.cpp create mode 100644 src/api/TelegramAPI.h diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 59f5057..f0b64e1 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -15,8 +15,13 @@ + + - + + + + @@ -32,28 +37,19 @@ - + - - + + - + - - - - - - - - - - + @@ -62,6 +58,27 @@ + + + + + + + + + + + + + + + + + + + + + @@ -70,8 +87,8 @@ - - + + @@ -127,18 +144,21 @@ - @@ -146,7 +166,6 @@ - @@ -161,17 +180,19 @@ - + + + -