Last active
May 20, 2019 10:17
-
-
Save grvoyt/f5f07a5a817eb05d0ece283fbfdb7935 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
#!/bin/bash | |
api='' #api key | |
chat_id='' #chat_id | |
curl -d "chat_id=$chat_id&text=$1" https://api.telegram.org/bot$api/sendMessage > /dev/null 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment