-
-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathtelesetup.py
24 lines (23 loc) · 1021 Bytes
/
telesetup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from telethon.sync import TelegramClient
from telethon.sessions import StringSession
print ("")
print ("")
print(""" Welcome To J.A.R.V.I.S String Generator By Jarvis""")
print("""Kindly Enter Your Details To Continue ! """)
API_KEY = '1754367'
API_HASH = "231b8cc6cca12ee51a85cf543321f476"
while True:
try:
with TelegramClient(StringSession(), API_KEY, API_HASH) as client:
print("")
session = client.session.save()
client.send_message("me", f"Here is your TELEGRAM STRING SESSION\n(Tap to copy it)👇 \n\n `{session}` And Visit @jarvissupportofficial For Any Help !")
print("You telegramString session successfully stored in your telegram, please check your Telegram Saved Messages ")
print("Store it safe !!")
print("Thanks For Choosing JARVIS Service. Hope that You will Have a Goodtime With Us!....)
except:
print ("")
print ("Wrong phone number \n make sure its with correct country code. Example : +919961998999 ! Kindly Retry")
print ("")
continue
break