Advertisement
Guest User

Untitled

a guest
Feb 20th, 2021
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. r = requests
  2. files = {'document': open(zipPath, 'rb')}
  3. response = r.post("https://api.telegram.org/bot" + token + "/sendDocument", files=files, data=data,)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement