Skip to content

Instantly share code, notes, and snippets.

@dhcgn
Created March 11, 2016 18:55
Show Gist options
  • Save dhcgn/ea6b0641ec958ea00028 to your computer and use it in GitHub Desktop.
Save dhcgn/ea6b0641ec958ea00028 to your computer and use it in GitHub Desktop.
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