{"id":23037076,"url":"https://github.com/n7ghtm4r3/telegrammanager","last_synced_at":"2025-10-07T11:03:23.767Z","repository":{"id":173366262,"uuid":"643983145","full_name":"N7ghtm4r3/TelegramManager","owner":"N7ghtm4r3","description":"This is a Java-based library useful to work with Telegram's API services. Good use!","archived":false,"fork":false,"pushed_at":"2024-01-29T21:49:33.000Z","size":821,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T11:03:23.240Z","etag":null,"topics":["api","api-client","api-java","java","tecknobit","telegram","telegram-bot-api"],"latest_commit_sha":null,"homepage":"","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/N7ghtm4r3.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-22T14:59:35.000Z","updated_at":"2023-06-07T13:15:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f045fae-ad5b-4bdb-af7c-feb4c5f9059b","html_url":"https://github.com/N7ghtm4r3/TelegramManager","commit_stats":null,"previous_names":["n7ghtm4r3/telegrammanager"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/N7ghtm4r3/TelegramManager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/N7ghtm4r3%2FTelegramManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/N7ghtm4r3%2FTelegramManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/N7ghtm4r3%2FTelegramManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/N7ghtm4r3%2FTelegramManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/N7ghtm4r3","download_url":"https://codeload.github.com/N7ghtm4r3/TelegramManager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/N7ghtm4r3%2FTelegramManager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278762930,"owners_count":26041447,"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-10-07T02:00:06.786Z","response_time":59,"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":["api","api-client","api-java","java","tecknobit","telegram","telegram-bot-api"],"created_at":"2024-12-15T17:28:35.977Z","updated_at":"2025-10-07T11:03:23.726Z","avatar_url":"https://github.com/N7ghtm4r3.png","language":"Java","funding_links":["https://www.paypal.com/donate/?hosted_button_id=5QMN5UQH7LDT4"],"categories":[],"sub_categories":[],"readme":"# TelegramManager\n**v1.0.2**\n\nThis is a Java Based library useful to work with Telegram's API service.        \n         \n## Implementation\n\nAdd the JitPack repository to your build file\n\n### Gradle\n\n- Add it in your root build.gradle at the end of repositories\n\n    #### Gradle (Short)\n         \n    ```gradle\n    repositories {\n        ...\n        maven { url 'https://jitpack.io' }\n    }\n    ```\n\n    #### Gradle (Kotlin)\n         \n    ```gradle\n    repositories {\n        ...\n        maven(\"https://jitpack.io\")\n    }\n    ```\n    \n- Add the dependency\n\n    #### Gradle (Short)\n         \n    ```gradle\n    dependencies {\n        implementation 'com.github.N7ghtm4r3:TelegramManager:1.0.2'\n    }\n    ```\n\n    #### Gradle (Kotlin)\n         \n    ```gradle\n    dependencies {\n        implementation(\"com.github.N7ghtm4r3:TelegramManager:1.0.2\")\n    }\n    ```\n    \n### Maven\n\n- Add it in your root build.gradle at the end of repositories\n\n```xml\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003ejitpack.io\u003c/id\u003e\n        \u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n    \u003c/repository\u003e\n\u003c/repositories\u003e\n```\n- Add the dependency\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.N7ghtm4r3\u003c/groupId\u003e\n    \u003cartifactId\u003eTelegramManager\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.2\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## 🛠 Skills\n- Java\n\n## Managers available\n\n- Bot API\n\nThe other managers will be gradually released\n\n## Usage/Examples\n\n### Creating a Bot\n\nTo use correctly the library you must before create the bot and its token to pass to the managers to correctly perform their \nworkflow, you can follow how do to it \u003ca href=\"https://core.telegram.org/bots#how-do-i-create-a-bot\"\u003ehere\u003c/a\u003e  \n\n### Execution\n\n```java\n\ntry{\n    ContentManager contentManager = new ContentManager();\n    contentManager.sendMessage(\"Hello from TelegramManager\");\n}catch(Exception e){\n    e.printStackTrace();\n}\n```\n\nTo avoid re-entering credentials for each manager, you can instantiate managers like this with the **ARCS**:\n\n```java\n// choose the manager, for example: StickersManager, PassportManager, etc\nTelegramManager firstManager = new TelegramManager(/* params of the constructor chosen */, \"accessToken\");\n// and then use it \nfirstManager.makeSomething();\n// you don't need to insert all credentials to make manager work\nTelegramManager secondManager = new TelegramManager(); // same credentials used\n// and then use it\nsecondManager.makeSomething();\n```\n\n### Responses\n\nLibrary give to you the opportunity to customize the return object after a request, the possibilities are:\n\n- **JSON:** return response formatted as **JSON** (**org.json.JSONObject** or **org.json.JSONArray**)\n- **STRING:** return response formatted as **String**\n- **LIBRARY_OBJECT:** return response formatted as custom object offered by the library\n\n```java\n// choose the manager for example: StickersManager, PassportManager, etc\nTelegramManager manager = new TelegramManager(/* params of the constructor chosen */);\n// method to return directly a library given by library\nmanager.someRequest(); // in this case will be returned directly a LIBRARY_OBJECT\n// method to customize the format of the return \nmanager.someRequest(ReturnFormat.JSON); // in this case will be returned response in JSON format\n```\n\n### Errors handling\n\n```java\ntry{\n    System.out.println(manager.sendMessage(\"Hello from TelegramManager\"));\n}catch(Exception e){\n    System.out.println(manager.getErrorResponse());\n    //or\n    manager.printErrorResponse();\n}\n\n/* NOTE: if is not a request error will appear: \"Error is not in api request, check out your code\"\n  and you will have to work on your code to manage error*/\n```\n\n## Authors\n\n- [@N7ghtm4r3](https://www.github.com/N7ghtm4r3)\n\n## Support\n\nIf you need help using the library or encounter any problems or bugs, please contact us via the following links:\n\n- Support via \u003ca href=\"mailto:infotecknobitcompany@gmail.com\"\u003eemail\u003c/a\u003e\n- Support via \u003ca href=\"https://github.com/N7ghtm4r3/TelegramManager/issues/new\"\u003eGitHub\u003c/a\u003e\n\nThank you for your help!\n\n## Badges\n\n[![](https://img.shields.io/badge/Google_Play-414141?style=for-the-badge\u0026logo=google-play\u0026logoColor=white)](https://play.google.com/store/apps/developer?id=Tecknobit)\n[![Twitter](https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge\u0026logo=twitter\u0026logoColor=white)](https://twitter.com/tecknobit)\n\n[![](https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge\u0026logo=telegram\u0026logoColor=white)](https://core.telegram.org/api)\n[![](https://img.shields.io/badge/Java-ED8B00?style=for-the-badge\u0026logo=java\u0026logoColor=white)](https://www.oracle.com/java/)\n\n[![](https://jitpack.io/v/N7ghtm4r3/TelegramManager.svg)](https://jitpack.io/#N7ghtm4r3/TelegramManager)\n\n## Donations\n\nIf you want support project and developer\n\n| Crypto  | Address| Network |\n| ------------- | ------------- | ------------- |\n| ![](https://img.shields.io/badge/Bitcoin-000000?style=for-the-badge\u0026logo=bitcoin\u0026logoColor=white) | **3H3jyCzcRmnxroHthuXh22GXXSmizin2yp** | Bitcoin |\n| ![](https://img.shields.io/badge/Ethereum-3C3C3D?style=for-the-badge\u0026logo=Ethereum\u0026logoColor=white)  | **0x1b45bc41efeb3ed655b078f95086f25fc83345c4**  | Ethereum |\n\nIf you want support project and developer\nwith \u003ca href=\"https://www.paypal.com/donate/?hosted_button_id=5QMN5UQH7LDT4\"\u003ePayPal\u003c/a\u003e\n\nCopyright © 2024 Tecknobit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn7ghtm4r3%2Ftelegrammanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn7ghtm4r3%2Ftelegrammanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn7ghtm4r3%2Ftelegrammanager/lists"}