Skip to content

A Python-based Telegram user bot that listens to incoming voice messages and responds with generated text to the user.

License

Notifications You must be signed in to change notification settings

PiumalSahashraka/ai-voice-telegram-account

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Name

License

Description

A Python-based Telegram user bot that listens to incoming voice messages and responds with generated text to the user.

Table of Contents

Installation

Step 1: Clone the Repository First, clone the repository to your local machine using Git:

git clone https://github.com/piumalSahashraka/ai-voice-telegram-account.git
cd ai-voice-telegram-account

Step 2: Set Up a Virtual Environment (Optional but Recommended) It's a good practice to use a virtual environment to manage your project's dependencies:

python -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`

Step 3: Install Dependencies With the virtual environment activated, install the required Python packages:

pip install -r requirements.txt

Step 4: Configure Environment Variables Create a .env file in the root directory of the project to store environment variables like your Telegram bot token and API keys:

touch .env
#Add the necessary variables to the .env file

Step 5: Run the Bot After setting up the environment, you can start the bot:

python main.py

Usage

Simply send a voice message to the user bot

Features

Telegram Personal Account Voice Message Functionality AI Text Generation with Gemini API

TO DO

Handle more exceptions.

Contributing

We welcome contributions to this project! Whether you're fixing a bug, adding a new feature, or improving documentation, your help is appreciated. Please read the CONTRIBUTING GUIDELINE.

Getting Help

If you have any questions or need assistance, feel free to open an issue or reach out to the maintainers.

License

Copyright (c) 2024 Piumal Gunarathne This project is licensed under the MIT License.

About

A Python-based Telegram user bot that listens to incoming voice messages and responds with generated text to the user.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages