{"id":15035032,"url":"https://github.com/nasermirzaei89/telegram","last_synced_at":"2025-04-10T00:22:58.967Z","repository":{"id":57501653,"uuid":"85057651","full_name":"nasermirzaei89/telegram","owner":"nasermirzaei89","description":"Golang Telegram Bot API","archived":false,"fork":false,"pushed_at":"2023-03-30T14:38:10.000Z","size":248,"stargazers_count":15,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T02:06:33.337Z","etag":null,"topics":["bot","go","golang","lib","library","telegram","telegram-api","telegram-bot","telegram-bot-api"],"latest_commit_sha":null,"homepage":"","language":"Go","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/nasermirzaei89.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":"supported-currencies.go","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-15T10:09:06.000Z","updated_at":"2024-10-13T23:33:11.000Z","dependencies_parsed_at":"2024-06-20T17:13:15.979Z","dependency_job_id":"6d716972-ff18-4255-b8bf-625d16aa9786","html_url":"https://github.com/nasermirzaei89/telegram","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasermirzaei89%2Ftelegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasermirzaei89%2Ftelegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasermirzaei89%2Ftelegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nasermirzaei89%2Ftelegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nasermirzaei89","download_url":"https://codeload.github.com/nasermirzaei89/telegram/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248132299,"owners_count":21053020,"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":["bot","go","golang","lib","library","telegram","telegram-api","telegram-bot","telegram-bot-api"],"created_at":"2024-09-24T20:27:13.920Z","updated_at":"2025-04-10T00:22:58.937Z","avatar_url":"https://github.com/nasermirzaei89.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Bot API\n\n[Telegram Bot API](https://core.telegram.org/bots/api) [Golang](https://golang.org) implementation\n\n[![Build Status](https://travis-ci.org/nasermirzaei89/telegram.svg?branch=master)](https://travis-ci.org/nasermirzaei89/telegram)\n[![Go Report Card](https://goreportcard.com/badge/github.com/nasermirzaei89/telegram)](https://goreportcard.com/report/github.com/nasermirzaei89/telegram)\n[![GolangCI](https://golangci.com/badges/github.com/nasermirzaei89/telegram.svg)](https://golangci.com/r/github.com/nasermirzaei89/telegram)\n[![Codecov](https://codecov.io/gh/nasermirzaei89/telegram/branch/master/graph/badge.svg)](https://codecov.io/gh/nasermirzaei89/telegram)\n[![GoDoc](https://godoc.org/github.com/nasermirzaei89/telegram?status.svg)](https://godoc.org/github.com/nasermirzaei89/telegram)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://raw.githubusercontent.com/nasermirzaei89/telegram/master/LICENSE)\n\n## Status\n\nBot API 6.0 (https://core.telegram.org/bots/api-changelog#april-16-2022)\n\n## Install\n\n```sh\ngo get github.com/nasermirzaei89/telegram\n```\n\n## Example\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"github.com/nasermirzaei89/telegram\"\n\t\"log\"\n\t\"os\"\n)\n\nfunc main() {\n\tbot := telegram.New(os.Getenv(\"TOKEN\"))\n\n\tres, err := bot.GetUpdates(context.Background())\n\tif err != nil {\n\t\tlog.Fatalln(err)\n\t}\n\n\tif res.IsOK() {\n\t\tlog.Printf(\"%+v\", res.GetUpdates())\n\t} else {\n\t\tlog.Printf(\"%d: %s\", res.GetErrorCode(), res.GetDescription())\n\t}\n}\n```\n\n## License\n\nMIT License\n\n## Contributing\n\nYou can submit a [new issue](https://github.com/nasermirzaei89/telegram/issues/new) in GitHub [issues](https://github.com/nasermirzaei89/telegram/issues).\nOr you can [create a fork](https://help.github.com/articles/fork-a-repo), hack on your fork and when you're done create a [pull request](https://help.github.com/articles/fork-a-repo#pull-requests), so that the code contribution can get merged into the main package.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnasermirzaei89%2Ftelegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnasermirzaei89%2Ftelegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnasermirzaei89%2Ftelegram/lists"}