{"id":20766565,"url":"https://github.com/mmqnym/telegram-autosend-example","last_synced_at":"2025-03-11T18:49:37.722Z","repository":{"id":50523726,"uuid":"519325666","full_name":"mmqnym/Telegram-Autosend-example","owner":"mmqnym","description":"Display how to auto send message in telegram bot","archived":false,"fork":false,"pushed_at":"2022-07-31T09:06:41.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-08T21:41:15.022Z","etag":null,"topics":["bot","python","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mmqnym.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-29T19:17:33.000Z","updated_at":"2022-08-31T11:10:23.000Z","dependencies_parsed_at":"2022-09-06T16:11:50.504Z","dependency_job_id":null,"html_url":"https://github.com/mmqnym/Telegram-Autosend-example","commit_stats":null,"previous_names":["mmq88/telegram-autosend-example","mmqnym/telegram-autosend-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmqnym%2FTelegram-Autosend-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmqnym%2FTelegram-Autosend-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmqnym%2FTelegram-Autosend-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmqnym%2FTelegram-Autosend-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmqnym","download_url":"https://codeload.github.com/mmqnym/Telegram-Autosend-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243094246,"owners_count":20235478,"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":["bot","python","telegram","telegram-bot"],"created_at":"2024-11-17T11:24:45.769Z","updated_at":"2025-03-11T18:49:37.696Z","avatar_url":"https://github.com/mmqnym.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram auto send message\n\u003e Display how to auto send message in telegram bot\n\n## How to get telegram chat_id\n\n\u003e First, You need to find telegram chat_id for auto send message to a group or channel.\n1. Add the bot to the channel or group you want.\n2. Send a message on the channel or group you choosed.\n3. Enter `https://api.telegram.org/\u003cYour bot token\u003e/getUpdates` in your browser and you will see that the json file on the page contains the record of the message you just sent.\n4. Find `id` in the `chat` block, which is the chat_id we are looking for.\n\n\u003e Paste the chat_id to complete the auto send function.\n``` python\nbot.sendMessage( chat_id = \u003cYou found chat_id\u003e, text = msg, parse_mode = 'markdown' )\n```\n\n## Reference\n\n- ##### [python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot)\n- ##### [schedule.py](https://schedule.readthedocs.io/en/stable/)\n\n\n## License\n[MIT License](https://github.com/0xmimiQ/telegram_autosend/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmqnym%2Ftelegram-autosend-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmqnym%2Ftelegram-autosend-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmqnym%2Ftelegram-autosend-example/lists"}