{"id":24346033,"url":"https://github.com/mayocream/telegram-api-rs","last_synced_at":"2026-02-10T02:35:02.231Z","repository":{"id":272763776,"uuid":"917680931","full_name":"mayocream/telegram-api-rs","owner":"mayocream","description":"Telegram Bot API in Rust.","archived":false,"fork":false,"pushed_at":"2025-01-16T13:20:49.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T17:18:37.486Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mayocream.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":"2025-01-16T12:59:24.000Z","updated_at":"2025-01-16T14:09:46.000Z","dependencies_parsed_at":"2025-01-16T14:28:54.596Z","dependency_job_id":"5a354727-145a-47bc-8460-bf349d9d9a88","html_url":"https://github.com/mayocream/telegram-api-rs","commit_stats":null,"previous_names":["mayocream/telegram-bot-rs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mayocream/telegram-api-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayocream%2Ftelegram-api-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayocream%2Ftelegram-api-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayocream%2Ftelegram-api-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayocream%2Ftelegram-api-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mayocream","download_url":"https://codeload.github.com/mayocream/telegram-api-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayocream%2Ftelegram-api-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29289563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T02:32:08.756Z","status":"ssl_error","status_checked_at":"2026-02-10T02:30:31.937Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-01-18T10:31:51.824Z","updated_at":"2026-02-10T02:35:02.210Z","avatar_url":"https://github.com/mayocream.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# telegram-api-rs\n\nTelegram Bot API in Rust.\n\n## Usage\n\n```bash\ncargo add telegram-api\n```\n\nExample usage:\n```rust\nuse telegram_api::{Bot, SendMessageRequest, TelegramError};\n\n// Example usage:\n#[tokio::main]\nasync fn main() -\u003e Result\u003c(), TelegramError\u003e {\n    let bot = Bot::new(\"YOUR_BOT_TOKEN\".to_string())?;\n\n    // Get updates\n    let updates = bot.get_updates(None).await?;\n    for update in updates {\n        if let Some(message) = update.message {\n            if let Some(text) = message.text {\n                // Echo the message back\n                let request = SendMessageRequest {\n                    chat_id: message.chat.id,\n                    text: text,\n                    reply_to_message_id: Some(message.message_id),\n                    parse_mode: None,\n                };\n                bot.send_message(request).await?;\n            }\n        }\n    }\n\n    Ok(())\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayocream%2Ftelegram-api-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmayocream%2Ftelegram-api-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayocream%2Ftelegram-api-rs/lists"}