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
#!/usr/bin/env python3 | |
import urllib.request as ur | |
import urllib.parse as up | |
from sys import argv | |
WEBHOOK_URL = "https://api.telegram.org" | |
BOT_API = "HERE_YORS_BOT_TOKEN_FROM_BOTFATHER" | |
DATA = up.urlencode({ | |
'text': ' '.join(argv[1:]), |