Code Monkey home page Code Monkey logo

telegram-member-adder-script-1's Introduction

Telegram Member Adder Script

License

This is a Python script for adding members to a Telegram group automatically. It utilizes the Telegram Bot API to perform the member addition process.

Features

  • Add multiple members to a Telegram group automatically.
  • Supports adding members from a CSV file.
  • Customizable delay between member additions.
  • Easy setup and configuration.

Prerequisites

  • Python 3.6 or higher
  • python-telegram-bot library

Installation

  1. Clone the repository:

    git clone https://github.com/sabnam777/telegram-member-adder-script.git
    

2.Install the required dependencies:

pip install -r requirements.txt 

Configuration

Create a new Telegram Bot and obtain the API token. You can follow the official BotFather documentation for detailed instructions.

Rename the config.example.ini file to config.ini.

 [Telegram]
 api_token = YOUR_TELEGRAM_API_TOKEN
 group_id = YOUR_TELEGRAM_GROUP_ID

[General]
 delay = 5  # Delay in seconds between member additions
 Open config.ini in a text editor and provide the necessary details:   

Usage

Prepare a CSV file containing the member details. The CSV file should have a header row with the columns: name, phone, username.

Run the script: python telegram_member_adder.py --file members.csv Replace members.csv with the actual name of your CSV file.

The script will start adding members to the specified Telegram group. The progress and any errors encountered will be displayed in the console.

telegram-member-adder-script-1's People

Contributors

aity-yahoo 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.