Skip to content

8838/Telegram-Name-Updating

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Telegram-Name-Updating

Update (first/last/user) name of Telegram user every 30 seconds.

Reference documentation:Telethon

0. prerequisites

Operating environment:VPS,python3,python3-pip

Create an app:https://my.telegram.org/。Just fill in the App title and Short name. Get api_id and api_hash.

1. Download the Demo applet to the VPS

git clone https://github.com/8838/Telegram-Name-Updating.git
cd Telegram-Name-Updating

2. Install telethon

pip3 install -r requirements.txt

3. Run the Demo applet

python3 tg_username_update.py

4. api authentication and user login

Enter api_id and api_hash as prompted. Then enter the mobile phone number and verification code. If the account has enabled secondary verification, please enter the secondary verification password according to the prompts. Finally seeing It works! indicates success. The default is to update lastname to a specific mode with a certain probability every 30 seconds.

5. Temporarily CTRL+C to end the applet and re-hang it to run in the background

nohup python3 tg_username_update.py &

Releases

No releases published

Packages

No packages published

Languages