{"id":13989062,"url":"https://github.com/m4mallu/DeleteMediaRobot","last_synced_at":"2025-07-22T10:30:56.159Z","repository":{"id":110871627,"uuid":"350579921","full_name":"m4mallu/DeleteMediaRobot","owner":"m4mallu","description":"Telegram robot to delete media in a chat!","archived":false,"fork":false,"pushed_at":"2022-05-04T04:20:15.000Z","size":10,"stargazers_count":11,"open_issues_count":0,"forks_count":15,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-29T07:37:10.569Z","etag":null,"topics":["bulk-operation","delete-all-media","telegram-bot","using-command"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m4mallu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-03-23T04:36:16.000Z","updated_at":"2023-11-09T15:00:17.000Z","dependencies_parsed_at":"2024-01-15T17:34:58.388Z","dependency_job_id":"1d8ce4e5-2362-49d9-a7a7-5d500529fee6","html_url":"https://github.com/m4mallu/DeleteMediaRobot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/m4mallu/DeleteMediaRobot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4mallu%2FDeleteMediaRobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4mallu%2FDeleteMediaRobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4mallu%2FDeleteMediaRobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4mallu%2FDeleteMediaRobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m4mallu","download_url":"https://codeload.github.com/m4mallu/DeleteMediaRobot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4mallu%2FDeleteMediaRobot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266474971,"owners_count":23934846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bulk-operation","delete-all-media","telegram-bot","using-command"],"created_at":"2024-08-09T13:01:30.201Z","updated_at":"2025-07-22T10:30:55.871Z","avatar_url":"https://github.com/m4mallu.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Delete Media Robot \n\n **A Simple Telegram Bot to delete all medias in a chat with single command !**\n\n### Requirements:\n```\nTG_BOT_TOKEN    - Get from @BotFather\nAPP_ID          - Get from my.telegram.org\nAPI_HASH        - Get from my.telegram.org\nTG_USER_SESSION - Run any userbot session maker(https://repl.it/@ayrahikari/pyrogram-session-maker)\nAUTH_USERS      - List of Autherized user ids separated by \u003cspace\u003e\n```\n\n **STRING SESSION USER MUST BE AN ADMIN IN THE TARGET CHAT WHERE BOT PERFORMS THE FUNCTION**\n\n### @BotFather Command:\n```\n/cleanmedia - Delete medias in Group (Only done by AUTH USERS)\n```\n\n### Deploy Easy Way:\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/m4mallu/DeleteMediaRobot)\n\n### Deploy Hard Way:\n\nCreate **config.py** with variables as given below (Refer sample.config):\n\n```\nclass Config(object):\n    TG_BOT_TOKEN = \"134448596:AAEIyo3EBVCN3qdd3TfrmQUxoI-eZVGvmI\"\n    APP_ID = int(123635)\n    API_HASH = \"1a417dd4fdf3ead2819ff35641daa16b\"\n    TG_USER_SESSION = \"BQDGRUC0_qw2GVQ2gpLFaXOt0mrWg16cBZPATQvR8KThDzi-NRE1I9DB......\"\n    AUTH_USERS = [1134455567, 9244566948]\n```\nRun the following:\n\n```\nvirtualenv -p python3 venv\n. ./venv/bin/activate\npip3 install -r requirements.txt\npython3 main.py\n```\n### LICENSE\n\n- [GPLv3](https://choosealicense.com/licenses/gpl-3.0/)\n\n### Credits:\n\n[DAN](https://t.me/haskell) for his [Pyrogram](https://github.com/pyrogram/pyrogram) Library\n\n[SpEcHiDe](https://github.com/SpEcHiDe) for his [DeleteMessagesRoBot](https://github.com/SpEcHiDe/DeleteMessagesRoBot)\n\n### Creator :\n\n[Mallu Boy](https://t.me/m4mallu) In Telegram - [AS](https://t.me/space4renjith)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4mallu%2FDeleteMediaRobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm4mallu%2FDeleteMediaRobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4mallu%2FDeleteMediaRobot/lists"}