Created
November 7, 2018 23:12
-
-
Save ilyoff/cd10949395a5248a08b59f39ce39fee7 to your computer and use it in GitHub Desktop.
make channel public, if it is private, take it's public name and use in the url. Make request, in response you'll get the id.
This file contains hidden or 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
| curl 'https://api.telegram.org/bot<bot-token>/sendMessage?chat_id=@<channel_name>&text=123' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment