{"id":15752548,"url":"https://github.com/mhewedy/telebot","last_synced_at":"2025-05-07T15:01:25.279Z","repository":{"id":240051775,"uuid":"801537388","full_name":"mhewedy/telebot","owner":"mhewedy","description":"Telegram bot library abstraction on top of python-telegram-bot","archived":false,"fork":false,"pushed_at":"2024-05-25T11:43:52.000Z","size":20,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T11:11:37.027Z","etag":null,"topics":["telebot","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mhewedy.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-05-16T12:26:57.000Z","updated_at":"2024-06-03T01:27:29.000Z","dependencies_parsed_at":"2024-05-20T23:50:42.494Z","dependency_job_id":"79c95c6b-c5de-408c-ad41-30f4e9ae9316","html_url":"https://github.com/mhewedy/telebot","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":0.06666666666666665,"last_synced_commit":"e60074067bfefe3e8aff0c3978370d5d0d3e0411"},"previous_names":["mhewedy/telebot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhewedy%2Ftelebot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhewedy%2Ftelebot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhewedy%2Ftelebot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhewedy%2Ftelebot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhewedy","download_url":"https://codeload.github.com/mhewedy/telebot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252902604,"owners_count":21822259,"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":["telebot","telegram","telegram-bot"],"created_at":"2024-10-04T07:02:52.045Z","updated_at":"2025-05-07T15:01:24.485Z","avatar_url":"https://github.com/mhewedy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telebot\n\nTelegram bot library abstraction on top\nof [python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot)\n\n## Features\n\nHelp you to get started quickly by providing decorators `@command` and `@job`\n\n## Install\n```bash\npip install --upgrade --force-reinstall git+https://github.com/mhewedy/telebot\n```\n\n### Example:\n\n```python\n\nbot = BotApp()\n\n\n@bot.command(text=True)\nasync def echo(update: Update, context: ContextTypes.DEFAULT_TYPE) -\u003e None:\n    await update.message.reply_text(update.message.text)\n\n\n@bot.command(name=\"ping\", desc=\"test the bot\")\nasync def ping(update: Update, context: ContextTypes.DEFAULT_TYPE) -\u003e None:\n    await update.message.reply_text(\"Pong!\")\n\n\n@bot.job(time=\"08:00\", enabled=False)\nasync def hell_timer(context: ContextTypes.DEFAULT_TYPE, chat_id):\n    await context.bot.send_message(chat_id, text=\"hello from timer\")\n\n\n@bot.job(interval=5, enabled=True)\nasync def hello_interval(context: ContextTypes.DEFAULT_TYPE, chat_id):\n    await context.bot.send_message(chat_id, text=\"hello from interval\")\n\n```\n\nsee example.py for the whole running example\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhewedy%2Ftelebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhewedy%2Ftelebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhewedy%2Ftelebot/lists"}