Git Product home page Git Product logo

telegram-name-updating's Introduction

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群组)。

telegram-name-updating's People

Contributors

xyou365 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.