Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 2.21 KB

README.md

File metadata and controls

49 lines (31 loc) · 2.21 KB

Telegraph Telegram Bot

Pyrogram Python Bcnadds Developer

About

Telegraph Telegram Bot is a bot that allows you to create Telegraph pages for your text, photos, videos, and GIFs directly from Telegram. It leverages the Pyrogram library, is implemented in Python, and uses the Telegraph API provided by bcnadds.

Features

  • Create Telegraph pages for text, photos, videos, and GIFs.
  • Provides statistics on the total number of links generated and unique users.
  • Interactive help menu and user-friendly interface.

Getting Started

  1. Clone the repository.
  2. Install the required dependencies: pip install -r requirements.txt
  3. Obtain API credentials from Telegraph API and update the token variable in your script.
  4. Run the bot: telegraph.py

Note: first add config details in telegraph.py

Deployment

You can deploy this bot to Heroku using the following button:

Deploy

Usage

  • Send a photo, video, GIF, or text to the bot to create a Telegraph page.
  • Use the /stats command to get statistics on the total links generated and unique users.
  • Explore other features by using the /help command.

Credits

  • Pyrogram: A Python wrapper for the Telegram Bot API.
  • Python: The programming language used for development.
  • bcnadds: Telegraph API used for creating Telegraph pages.
  • @my_name_is_nobitha: Developer of the Telegraph Telegram Bot.

License

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