Created
December 17, 2021 16:39
-
-
Save iNawaR1/76130b68332681d040cae2825952ba6f to your computer and use it in GitHub Desktop.
A simple Telegram API script
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
import time | |
import requests | |
import itertools | |
ID_tele=input("[?] Target Telegram ID : ") | |
token_bot=input("[?] your Bot Token : ") | |
num = 100000000 | |
for _ in itertools.repeat(None, num): | |
tele = ( | |
f'https://api.telegram.org/bot{token_bot}/sendMessage?chat_id={ID_tele}&text= \n Here You can put the Message ...!! ') | |
re = requests.post(tele) | |
time.sleep(0.1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment