Skip to content

WizardLoop/GetAnyMessage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

📨🔓 GetAnyMessage

get any message from any chat!

Save Restricted Content Easily.

GetAnyMessage is a powerful Telegram bot that lets you retrieve restricted messages (those that cannot be forwarded or copied) from any chat.

📨🔓 @GetAnyMessageRobot

AGPL License Made with ❤️ in Israel Docker Ready PHP 8.2+

Telegram


📦 Features

  • 🔓 Retrieve restricted messages from any chat
  • 📁 file support up to 4GB
  • 🧩 Supports groups, channels, private messages, bots
  • ⭐️ animated emoji's support
  • 💬 All types of messages
  • 🔁 Bypass Telegram forward/copy restrictions
  • ⚙️ Built with MadelineProto & PHP Coroutine Engine

🛠 Installation Setup

1️⃣ Clone the repository

git clone https://github.com/WizardLoop/GetAnyMessage.git
cd GetAnyMessage

2️⃣ Install dependencies

Install PHP dependencies using Docker:

docker compose run --rm composer install

3️⃣ Launch the bot

docker compose up --pull always -d

The bot will start running in the background.

🔍 View logs

docker compose logs

Live log output of your bot.


⚙️ Common Commands

Command Description
docker compose build Build the Docker image
docker compose up --pull always -d Start the bot in the background
docker compose down Stop and remove the bot container
docker compose restart Restart the bot quickly
docker compose logs View real-time bot logs
docker compose exec bot composer dump-autoload Reload Composer autoload
docker-compose ps Show the status of Docker containers

🔐 Environment Configuration

Copy .env.example to .env and fill in:

cp .env.example .env
  • API_ID
  • API_HASH
  • BOT_TOKEN
  • ADMIN_ID

🧪 Testing & Code Quality

This project supports PHPUnit, PHPCS, and PHP-CS-Fixer.

✅ Run tests

docker compose exec bot vendor/bin/phpunit

🎨 Code style

docker compose exec bot vendor/bin/phpcs
docker compose exec bot vendor/bin/php-cs-fixer fix

🤝 Contributing

Pull requests are welcome!

  1. Fork the repo
  2. Create a branch: git checkout -b fix/my-fix
  3. Commit: git commit -m 'Fix something'
  4. Push: git push origin fix/my-fix
  5. Open a PR 🙌

📄 License

Licensed under the GNU AGPL-3.0 — see LICENSE.


Questions? Suggestions? Contact @WizardLoop.

Releases

No releases published

Packages

No packages published