{"id":26284486,"url":"https://github.com/imrostami/telegrambotdependencyinjection","last_synced_at":"2025-03-14T18:34:48.862Z","repository":{"id":242670566,"uuid":"810220744","full_name":"imrostami/TelegramBotDependencyInjection","owner":"imrostami","description":"A template built on Telegram.Bot to demonstrate the modular implementation in the Telegram bot using Dependency Injection, an idea taken from ASP.NET projects.","archived":false,"fork":false,"pushed_at":"2024-06-04T11:09:36.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-07-12T00:13:07.437Z","etag":null,"topics":["architecture","asp-net-core","asp-net-mvc","controller","dependency-injection","microsoft","telegram","telegram-api","telegram-bot","telegram-bots","template","template-project","templates"],"latest_commit_sha":null,"homepage":"","language":"C#","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/imrostami.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-06-04T09:25:34.000Z","updated_at":"2024-07-12T00:13:15.582Z","dependencies_parsed_at":"2024-06-04T10:58:17.174Z","dependency_job_id":"7823e140-fd3f-4b2d-8d95-2e22a5451dd1","html_url":"https://github.com/imrostami/TelegramBotDependencyInjection","commit_stats":null,"previous_names":["sapurtcomputer30/telegrambotdependencyinjection","imrostami/telegrambotdependencyinjection"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imrostami%2FTelegramBotDependencyInjection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imrostami%2FTelegramBotDependencyInjection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imrostami%2FTelegramBotDependencyInjection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imrostami%2FTelegramBotDependencyInjection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imrostami","download_url":"https://codeload.github.com/imrostami/TelegramBotDependencyInjection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243625358,"owners_count":20321279,"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":["architecture","asp-net-core","asp-net-mvc","controller","dependency-injection","microsoft","telegram","telegram-api","telegram-bot","telegram-bots","template","template-project","templates"],"created_at":"2025-03-14T18:34:48.077Z","updated_at":"2025-03-14T18:34:48.848Z","avatar_url":"https://github.com/imrostami.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TelegramBotDependencyInjection\n\nBuilding Telegram bots in C# language is almost very complicated in development\nTherefore, I tried to reduce this complexity with an innovative format and divide the general logic of the program into different classes (under the title of Bot Controller). This idea is taken from ASP.NET MVC projects\n\n\n![ff](https://github.com/sapurtcomputer30/TelegramBotDependencyInjection/assets/26039089/8ee6abeb-7075-4d95-a118-6dbf1e58ed63)\n\nThe advantage of using this method is that in addition to being able to inject your DB Context and database services into your controllers, you can easily add the relevant module whenever you need the code. Add and remove (via DI Container)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimrostami%2Ftelegrambotdependencyinjection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimrostami%2Ftelegrambotdependencyinjection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimrostami%2Ftelegrambotdependencyinjection/lists"}