Skip to content

Telegram Auto Texter is a Telegram user bot application that automates the sending of messages, and media at scheduled or random times. It features customizable greetings, reminders, and dynamic text generation, providing a seamless and interactive experience for users.

License

Notifications You must be signed in to change notification settings

jromero132/telegram-auto-texter

Repository files navigation

Telegram Auto Texter

Telegram Auto Texter is a Telegram user bot application designed to send automated messages, greetings, and media at scheduled or random times. The user bot utilizes various features of the Telegram API to interact with users and provide a seamless experience.

Table of Contents

Features

  • Sends morning and afternoon messages.
  • Sends media items based on user-defined schedules.
  • Provides reminders for taking pills.
  • Customizable greetings and media through YAML configuration files.
  • Supports dynamic text generation using tokens.

Installation

  1. Clone the repository:

    git clone https://github.com/jromero132/telegram-auto-texter.git
    cd telegram-auto-texter```
    
  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Obtain your API id and hash and update the config.ini file.

  4. Configure the user bot settings in the file: src/data/telegram_config.yaml

Usage

To run the user bot, execute one of the following command:

  • python -m main
  • python main.py

Commands

  • /health: Check if the user bot is running.
  • /send_greeting: Send a morning greeting.
  • /send_afternoon_media: Send an afternoon media item.
  • /greeting_info: Get information about the time for the next greeting.
  • /afternoon_media_info: Get information about the time for the next afternoon media.
  • /test_greeting: Test sending a morning greeting.
  • /test_afternoon_media: Test sending an afternoon media item.
  • /stats: Get statistics about remaining media items.

Configuration

The user bot's behavior can be customized through YAML configuration files located in the src/data directory. The following files are available:

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes.

License

This project is licensed under the MIT License - see the license file for details.

About

Telegram Auto Texter is a Telegram user bot application that automates the sending of messages, and media at scheduled or random times. It features customizable greetings, reminders, and dynamic text generation, providing a seamless and interactive experience for users.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Languages