-
Notifications
You must be signed in to change notification settings - Fork 102
/
LionXsetup.py
31 lines (26 loc) · 1.53 KB
/
LionXsetup.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
25
26
27
28
29
30
31
#!/usr/bin/env python3
# (c) https://t.me/TelethonChat/37677
# This Source Code Form is subject to the terms of the GNU
# General Public License, v.3.0. If a copy of the GPL was not distributed with this
# file, You can obtain one at https://www.gnu.org/licenses/gpl-3.0.en.html.
from telethon.sessions import StringSession
from telethon.sync import TelegramClient
print(
r"""𝐏𝐋𝐄𝐀𝐒𝐄 𝐆𝐎 𝐓𝐎 my.telegram.org
𝐋𝐎𝐆𝐈𝐍 𝐔𝐒𝐈𝐍𝐆 𝐘𝐎𝐔 𝐓𝐄𝐋𝐄𝐆𝐑𝐀𝐌 𝐀𝐂𝐂𝐎𝐔𝐍𝐓
𝐂𝐋𝐈𝐂𝐊 𝐎𝐍 𝐀𝐏𝐈 𝐃𝐄𝐕𝐄𝐋𝐎𝐏𝐌𝐄𝐍𝐓 𝐓𝐎𝐎𝐋𝐒
𝐂𝐑𝐄𝐀𝐓𝐄 𝐀 𝐍𝐄𝐖 𝐀𝐏𝐏𝐋𝐈𝐂𝐀𝐓𝐈𝐎𝐍, 𝐁𝐘 𝐄𝐍𝐄𝐓𝐄𝐑𝐈𝐍𝐆 𝐑𝐄𝐐𝐔𝐈𝐑𝐄𝐃 𝐃𝐄𝐓𝐀𝐈𝐋𝐒
𝐓𝐄𝐀𝐌𝐋𝐈𝐎𝐍-𝐙
_ _____ ____ _ _ _
| | |_ _| / __ \\ | \\ | |
| | | | | | | || \\| |
| | | | | | | || . \.|
| |____ _| |_ | |__| || |\\ |
|______||_____| \\____/ |_| \\_|
𝐑𝐮𝐧𝐧𝐢𝐧𝐠 𝐋𝐢𝐨𝐧-𝐙 𝐎𝐧 𝐅𝐢𝐫𝐞 🔥🔥🔥🔥...."""
)
𝐀𝐏𝐏_𝐈𝐃 = int(input("𝐄𝐧𝐭𝐞𝐫 𝐀𝐏𝐏_𝐈𝐃 𝐇𝐞𝐫𝐞: "))
𝐀𝐏𝐈_𝐇𝐀𝐒𝐇 = input("𝐄𝐧𝐭𝐞𝐫 𝐀𝐏𝐈_𝐇𝐀𝐒𝐇 𝐇𝐞𝐫𝐞 : ")
with TelegramClient(StringSession(), APP_ID, API_HASH) as client:
print(client.session.save())
client.send_message("me", client.session.save())