Created
March 11, 2016 18:55
-
-
Save dhcgn/ea6b0641ec958ea00028 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string stderr; | |
string stdout; | |
string url="\"https://api.telegram.org/bot[API_KEY]/sendMessage?chat_id=-[CHATID]&text=HomeMatic: Haustuer wurde geoeffnet!\""; | |
system.Exec("wget --no-check-certificate -q -O - "#url, &stdout, &stderr); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment