Skip to content

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

Notifications You must be signed in to change notification settings

gouwazi/Telegram-Name-Updating

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Telegram-Name-Updating

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

参考文档:Telethon

lastname实时更新效果:Cody

0. 准备

运行环境:VPS,python3,python3-pip

创建应用:https://my.telegram.org/。只要填App title和Short name即可。获得api_id和api_hash。

1. 下载Demo小程序到VPS上

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

2. 安装telethon

pip3 install -r requirements.txt

3. 运行Demo小程序

python3 tg_username_update.py

4. api认证和用户登陆

根据提示输入api_id和api_hash。接着输入手机号和验证码,如果账号开启了二次验,证根据提示再输入二次验证的密码。最后看到 It works! 表明成功了。 默认的是每30秒钟按照一定概率更新一次lastname到特定模式。

欢迎加入我们(备用:Telegram群组)。

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%