GetAnyMessage is a powerful Telegram bot that lets you retrieve restricted messages (those that cannot be forwarded or copied) from any chat.
- 🔓 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
git clone https://github.com/WizardLoop/GetAnyMessage.git
cd GetAnyMessageInstall PHP dependencies using Docker:
docker compose run --rm composer installdocker compose up --pull always -dThe bot will start running in the background.
docker compose logsLive log output of your bot.
| 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 |
Copy .env.example to .env and fill in:
cp .env.example .envAPI_IDAPI_HASHBOT_TOKENADMIN_ID
This project supports PHPUnit, PHPCS, and PHP-CS-Fixer.
docker compose exec bot vendor/bin/phpunitdocker compose exec bot vendor/bin/phpcs
docker compose exec bot vendor/bin/php-cs-fixer fixPull requests are welcome!
- Fork the repo
- Create a branch:
git checkout -b fix/my-fix - Commit:
git commit -m 'Fix something' - Push:
git push origin fix/my-fix - Open a PR 🙌
Licensed under the GNU AGPL-3.0 — see LICENSE.
Questions? Suggestions? Contact @WizardLoop.