Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- r = requests
- files = {'document': open(zipPath, 'rb')}
- response = r.post("https://api.telegram.org/bot" + token + "/sendDocument", files=files, data=data,)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement