Git Product home page Git Product logo

auto-add-members-in-telegram-groups-and-channels's Introduction

A simple script to export members from Telegram Groups and Channels to a CSV file and to automatically add members to Telegram Groups.

Exporting and adding members to channels requires the user from which the script is launched to be a Channel admin.

Watch this YouTube Video To Know How To Use This Script:

Auto Add Members In Telegram Group

Read More Blogs About Termux And CyberWorld:

amanbytes.com

Install dependencies

python3 and pip3 must be installed and available in your PATH.

install telethon module by executing command

  pip3 install telethon

Telegram Configuration

  1. To run it you need to generate API credentials for your Telegram user, you can do it here, and access your already created ones here

  2. Replace your credentials in the python script

    api_id = 12345    # Your API ID
    
    api_hash = 'XXXXXXXXXXXXXXX'    # Your API Hash
    
    phone = '+11234567890'     # Your Phone Number With Country Code.
    

Exporting users

Just follow the instructions in the script after running it from your shell.

Adding users to groups

Users can be added using:

  • Username: Gets temporarily banned with less requests.

  • User ID: Gets temporarily banned with more requests.

Temporarily bans lasts for up to a day

Adding users by Username expects a CSV file with one username per line. Adding users by User ID expects a CSV file such as: username,user_id,user_access_hash

auto-add-members-in-telegram-groups-and-channels's People

Contributors

amanbytes avatar

Watchers

 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.