{"id":20408019,"url":"https://github.com/heapy/kotbot","last_synced_at":"2026-03-01T16:05:34.134Z","repository":{"id":41831314,"uuid":"136760406","full_name":"Heapy/kotbot","owner":"Heapy","description":"Bot for Kotlin chats in telegram.","archived":false,"fork":false,"pushed_at":"2025-04-07T12:56:20.000Z","size":4284,"stargazers_count":23,"open_issues_count":13,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-10T15:49:57.467Z","etag":null,"topics":["docker","hacktoberfest","kotlin","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"https://t.me/tgkotbot","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Heapy.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":"2018-06-09T21:48:02.000Z","updated_at":"2025-04-07T12:56:17.000Z","dependencies_parsed_at":"2023-01-31T13:15:15.963Z","dependency_job_id":"6a990f29-1430-425d-a8b9-d9ac2abc8250","html_url":"https://github.com/Heapy/kotbot","commit_stats":{"total_commits":213,"total_committers":10,"mean_commits":21.3,"dds":0.5305164319248826,"last_synced_commit":"217eabfe8bb327fb18c98c8a79f6651ebf18cfa8"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Heapy%2Fkotbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Heapy%2Fkotbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Heapy%2Fkotbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Heapy%2Fkotbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Heapy","download_url":"https://codeload.github.com/Heapy/kotbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586408,"owners_count":21129032,"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":["docker","hacktoberfest","kotlin","telegram","telegram-bot"],"created_at":"2024-11-15T05:27:31.736Z","updated_at":"2026-03-01T16:05:34.126Z","avatar_url":"https://github.com/Heapy.png","language":"Kotlin","readme":"# kotbot [![Build](https://github.com/Heapy/kotbot/actions/workflows/build.yml/badge.svg)](https://github.com/Heapy/kotbot/actions/workflows/build.yml)\n\n* [Core](https://github.com/Heapy/kotbot/tree/main/core#readme) – Lightweight, opinionated library\n  implementing [telegram bot api](https://core.telegram.org/bots)\n* [Tgkotbot](https://github.com/Heapy/kotbot/tree/main/tgkotbot#readme) – Bot implementation for needs\n  of [Kotlin Community](https://t.me/kotlin_lang) in the telegram\n\n## Bot API 9.5\n\n### Install the library\n\n```kotlin\nimplementation(\"io.heapy.kotbot:core:1.6.0\")\n```\n\n### Example\n\nExecute a single method:\n\n```kotlin\nsuspend fun main() {\n    val kotbot = Kotbot(\n        token = System.getenv(\"KOTBOT_TOKEN\"),\n    )\n\n  kotbot.execute(GetMe())\n      .also(::println)\n}\n```\n\nSubscribe for updates:\n\n```kotlin\nsuspend fun main() {\n    val kotbot = Kotbot(\n        token = System.getenv(\"KOTBOT_TOKEN\"),\n    )\n\n    // Flow, which emits updates\n    kotbot.receiveUpdates()\n        .collect(::println)\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheapy%2Fkotbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheapy%2Fkotbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheapy%2Fkotbot/lists"}