{"id":27357850,"url":"https://github.com/l3r8yj/elegram-api","last_synced_at":"2025-08-26T08:09:32.671Z","repository":{"id":64009898,"uuid":"572439185","full_name":"l3r8yJ/elegram-api","owner":"l3r8yJ","description":"It's a wrapper over the telegram bots api, but in the style of EO.","archived":false,"fork":false,"pushed_at":"2025-06-28T09:43:15.000Z","size":485,"stargazers_count":14,"open_issues_count":21,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-28T10:34:11.327Z","etag":null,"topics":["eolang","java","oop","telegram-bot-api"],"latest_commit_sha":null,"homepage":"https://www.elegram-api.ru","language":"Java","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/l3r8yJ.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,"zenodo":null}},"created_at":"2022-11-30T09:24:43.000Z","updated_at":"2024-07-29T08:17:31.000Z","dependencies_parsed_at":"2023-12-26T15:34:11.500Z","dependency_job_id":"ededbcf3-cd66-4b54-8179-4d1f2d9d63a7","html_url":"https://github.com/l3r8yJ/elegram-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/l3r8yJ/elegram-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l3r8yJ%2Felegram-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l3r8yJ%2Felegram-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l3r8yJ%2Felegram-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l3r8yJ%2Felegram-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/l3r8yJ","download_url":"https://codeload.github.com/l3r8yJ/elegram-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l3r8yJ%2Felegram-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272192669,"owners_count":24889452,"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-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["eolang","java","oop","telegram-bot-api"],"created_at":"2025-04-12T23:55:39.481Z","updated_at":"2025-08-26T08:09:32.648Z","avatar_url":"https://github.com/l3r8yJ.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[\u003cimg alt=\"logo\" src=\"docs/icon/telecactoos.svg\" height=\"100px\" /\u003e](https://www.elegram-api.ru/)\n\n[![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)\n[![DevOps By Rultor.com](http://www.rultor.com/b/objectionary/eo)](http://www.rultor.com/p/l3r8yJ/elegram-api)\n[![We recommend IntelliJ IDEA](https://www.elegantobjects.org/intellij-idea.svg)](https://www.jetbrains.com/idea/)\n\n[![PDD status](https://www.0pdd.com/svg?name=l3r8yJ/elegram-api)](https://www.0pdd.com/p?name=l3r8yJ/elegram-api)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/1c07f17c43f840758e9eed12be5e02af)](https://www.codacy.com/gh/l3r8yJ/elegram-api/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=l3r8yJ/elegram-api\u0026amp;utm_campaign=Badge_Grade)\n[![codecov](https://codecov.io/gh/l3r8yJ/elegram-api/branch/master/graph/badge.svg?token=JTWR1LR9QX)](https://codecov.io/gh/l3r8yJ/elegram-api)\n[![Hits-of-Code](https://hitsofcode.com/github/l3r8yJ/elegram-api)](https://hitsofcode.com/github/l3r8yJ/elegram-api/view)\n![](https://img.shields.io/github/repo-size/l3r8yJ/elegram-api)\n\n__Elegram-api__ is a wrapper over the telegram bots api, but in the style of [EO](https://www.eolang.org). More object-oriented, more maintainable.\n## Concept\nThis is a concept, if you have ideas, feel free to create an issue!\n\n```java\nimport Bot;\nimport Command;\nimport Update;\nimport BtDefault;\nimport java.util.Objects;\n\n/**\n * Simple example.\n */\nclass App() {\n    public static void main(String[] args) {\n        new BtDefault(\n            \"your token\",\n            new CmdStart()\n        ).start();\n    }\n}\n\n// this is a temporary solution, it will be changed later\nclass CmdStart() extends Command {\n    @Override\n    public void act(final Update update, final Bot bot) {\n        if (Objects.equals(\"/start\", update.message().text())) {\n            bot.sendMessage(\n                update.message().chatId(),\n                \"Hi, this is a start command\"\n            );\n        }\n    }\n}\n```\n## Why does this project exist?\nThis project solves the problem of the existing telegram-bots-api, which for some reason isn't _\"Object-Oriented\"_,\nhere we can create a wrapper around the original API and make it more _\"Object-Oriented\"_. \n\n_What do I mean when I say object-oriented?_\n\u003e _So let's look at [cactoos](https://github.com/yegor256/cactoos) library, I think you get the idea._\n## How to Contribute\nFork repository, make changes, send us a [pull request](https://www.yegor256.com/2014/04/15/github-guidelines.html).\nWe will review your changes and apply them to the `master` branch shortly,\nprovided they don't violate our quality standards. To avoid frustration,\nbefore sending us your pull request please run full Maven build:\n```bash\nmvn clean install -Pqulice\n```\nYou will need [Maven 3.3+](https://maven.apache.org) and Java 8+ installed\n## Reasons to reject your code\n  - [Empty lines.](https://www.yegor256.com/2014/11/03/empty-line-code-smell.html)\n  - [Compound names.](https://www.yegor256.com/2015/01/12/compound-name-is-code-smell.html)\n  - [Incorrect formatting.](https://www.yegor256.com/2014/10/23/paired-brackets-notation.html)\n  - [Mutability.](https://www.yegor256.com/2014/06/09/objects-should-be-immutable.html)\n  - [Getters/Setters.](https://www.yegor256.com/2014/09/16/getters-and-setters-are-evil.html)\n  - [Static methods.](https://www.yegor256.com/2017/02/07/private-method-is-new-class.html)\n  - [Pull request with feature but without unit-tests.](https://www.yegor256.com/2022/08/04/code-and-tests-different-pull-requests.html)\n  \nThis short list is supposed to make you understand that __we aren't picking on you__, it's just a __level of quality below which we can't accept__. \n## Tests\nWe're using [this plugin](https://github.com/volodya-lombrozo/test-naming-conventions) to control naming for tests, please note that.\n\n_Looking forward to your pull-request!_\n\n\n## Stargazers over time\n\n[![Stargazers over time](https://starchart.cc/l3r8yJ/elegram-api.svg)](https://starchart.cc/l3r8yJ/elegram-api)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl3r8yj%2Felegram-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fl3r8yj%2Felegram-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl3r8yj%2Felegram-api/lists"}