{"id":21503410,"url":"https://github.com/tufayellus/automated-telegram-group-messaging-enable-disable-python-script","last_synced_at":"2025-03-17T13:44:05.481Z","repository":{"id":255514371,"uuid":"852320667","full_name":"TufayelLUS/Automated-Telegram-Group-Messaging-Enable-Disable-Python-Script","owner":"TufayelLUS","description":"This script helps you enable/disable messaging on a target telegram group that you're an admin of or have administrative permission using telethon library","archived":false,"fork":false,"pushed_at":"2024-09-04T16:02:29.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T23:44:44.533Z","etag":null,"topics":["auto-telegram-control","telegram","telegram-bot","telegram-bot-template","telegram-group","telegram-group-management","telegram-group-management-bot","telegram-group-manager-bot"],"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/TufayelLUS.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-04T15:52:49.000Z","updated_at":"2024-09-04T16:05:05.000Z","dependencies_parsed_at":"2024-09-05T22:09:16.958Z","dependency_job_id":"164da64a-7ac4-4880-b2b5-032c0c96c62f","html_url":"https://github.com/TufayelLUS/Automated-Telegram-Group-Messaging-Enable-Disable-Python-Script","commit_stats":null,"previous_names":["tufayellus/automated-telegram-group-messaging-enable-disable-python-script"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TufayelLUS%2FAutomated-Telegram-Group-Messaging-Enable-Disable-Python-Script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TufayelLUS%2FAutomated-Telegram-Group-Messaging-Enable-Disable-Python-Script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TufayelLUS%2FAutomated-Telegram-Group-Messaging-Enable-Disable-Python-Script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TufayelLUS%2FAutomated-Telegram-Group-Messaging-Enable-Disable-Python-Script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TufayelLUS","download_url":"https://codeload.github.com/TufayelLUS/Automated-Telegram-Group-Messaging-Enable-Disable-Python-Script/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244044357,"owners_count":20388760,"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","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":["auto-telegram-control","telegram","telegram-bot","telegram-bot-template","telegram-group","telegram-group-management","telegram-group-management-bot","telegram-group-manager-bot"],"created_at":"2024-11-23T18:22:12.191Z","updated_at":"2025-03-17T13:44:05.451Z","avatar_url":"https://github.com/TufayelLUS.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Automated Telegram Group Messaging Enable/Disable Python Script\nThis script helps you enable/disable messaging on a target telegram group that you're an admin of or have administrative permission using the telethon library\n\n# Concept\nThis Python script uses the official telegram core API wrapper telethon to control group message-sending ability and is useful for situations where you want to turn off messaging automatically at some specific time of the day and reopen it again after that time has passed. \n\n# Instructions\nInstall Python first and then install Telethon using the command\n\u003cpre\u003epip install telethon\u003c/pre\u003e\nNow, collect your \u003ccode\u003eapi_id\u003c/code\u003e and \u003ccode\u003eapi_hash\u003c/code\u003e from https://my.telegram.org/apps by creating an app first. Once collected, place them in the script placeholders.\u003cbr\u003e\nNow, set the correct group title and phone number used in your telegram account. First-time execution will ask you to create a session by logging in. It supports 2FA too.\u003cbr\u003e\nOnce the session is ready, it can be used without authentication from the next time. At the bottom of the code, you may select whether you want to enable messaging or disable it in your target group.\u003cbr\u003e\nOnly the name of the group is enough to find its unique group ID and control it.\u003cbr\u003e\nYou may set different conditions as needed and schedule it at a specific time of the day and running the script will automate actions on your telegram group. Thanks to the telethon library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftufayellus%2Fautomated-telegram-group-messaging-enable-disable-python-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftufayellus%2Fautomated-telegram-group-messaging-enable-disable-python-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftufayellus%2Fautomated-telegram-group-messaging-enable-disable-python-script/lists"}