{"id":37200267,"url":"https://github.com/laraxgram/laraquest-go","last_synced_at":"2026-01-14T23:02:43.254Z","repository":{"id":270872305,"uuid":"910955321","full_name":"laraXgram/Laraquest-Go","owner":"laraXgram","description":"Sending requests and receiving Telegram updates. (GoLang)","archived":false,"fork":false,"pushed_at":"2025-07-20T02:13:55.000Z","size":87,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-20T04:38:15.173Z","etag":null,"topics":["laragram","laraquest","telegram","telegram-bot","telegram-bot-api","telegram-bots","telegram-bots-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/laraXgram.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,"zenodo":null}},"created_at":"2025-01-01T22:29:29.000Z","updated_at":"2025-07-20T02:13:59.000Z","dependencies_parsed_at":"2025-07-20T04:12:16.292Z","dependency_job_id":"1dc8e527-e50d-4ddf-a363-ce6cd885f0cd","html_url":"https://github.com/laraXgram/Laraquest-Go","commit_stats":null,"previous_names":["laraxgram/laraquest-go"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/laraXgram/Laraquest-Go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laraXgram%2FLaraquest-Go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laraXgram%2FLaraquest-Go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laraXgram%2FLaraquest-Go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laraXgram%2FLaraquest-Go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laraXgram","download_url":"https://codeload.github.com/laraXgram/Laraquest-Go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laraXgram%2FLaraquest-Go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28437918,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"last_error":"SSL_read: 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":["laragram","laraquest","telegram","telegram-bot","telegram-bot-api","telegram-bots","telegram-bots-api"],"created_at":"2026-01-14T23:02:42.081Z","updated_at":"2026-01-14T23:02:43.201Z","avatar_url":"https://github.com/laraXgram.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laraquest-Go\nSending requests and receiving Telegram updates.\n- Bot API Version `8.2`\n\n## Other Versions\n- [Laraquest PHP](https://github.com/laraXgram/Laraquest)\n- Laraquest Python\n- Laraquest JavaScript\n- Laraquest Rust\n- Laraquest C#\n\n---\n\n# Installation :\n```shell\ngo get github.com/laraXgram/Laraquest-Go\n```\n\n# Usage :\n\n### Imports :\n```go\nimport (\n    \"github.com/laraXgram/Laraquest-Go/request\"\n    \"github.com/laraXgram/Laraquest-Go/updates\"\n    \"github.com/laraXgram/Laraquest-Go/params\"\n)\n```\n\n### Config :\n```go\nrequest.AppConfig = request.Config{\n    Token: \"XXXXXX:XXXXXX\",\n    API_Server: \"https://api.telegram.org\", // optional\n    Server_IP: \"x.x.x.x\", // optional\n    Server_Port: 9000, // optional\n}\n```\n\n### Receiving updates :\n\nAll updates sent by Telegram, similar to the Telegram structure, are available through the Update struct and will be highlighted by the IDE or editor.\n\n```go\ngo request.Start(func(update updates.Updates) {\n    // Code ...\n})\n```\n\n### Sending request :\n\nAll Telegram methods come with a struct of received parameters, and you can easily use them.\n\n- With response\n\nIf the second parameter is true, the bot will wait for a response from Telegram.\n```go\nparams := params.SendMessageParams{\n    Chat_id: update.Message.Chat.Id,\n    Text: update.Message.Text,\n}\n\nrequest.SendMessage(params, true)\n```\n\n- Without response\n\nIf the second parameter is false, the bot will not wait for a response and will immediately continue executing the code. This method is very fast, but it will not return the response from Telegram.\n```go\nparams := params.SendMessageParams{\n    Chat_id: update.Message.Chat.Id,\n    Text: update.Message.Text,\n}\n\nrequest.SendMessage(params, false)\n```\n\n### Start Listen :\n```go\nrequest.Serve()\n```\n\nThis method will run a web server, and you can set the webhook on it.\nYou can configure the `Server_IP` and `Server_Port` as needed.\n\n### Overview :\n```go\npackage main\n\nimport (\n    \"github.com/laraXgram/Laraquest-Go/request\"\n    \"github.com/laraXgram/Laraquest-Go/updates\"\n    \"github.com/laraXgram/Laraquest-Go/params\"\n)\n\nfunc main() {\n    request.AppConfig = request.Config{\n        Token:       \"XXX:XXX\",\n        Server_IP:   \"https://mydomain.com/mybot\"\t\t\n    }\n\n    go request.Start(func(update updates.Updates) {\n        if update.Message.Chat.Type == \"private\" {\n            params := params.SendMessageParams{\n                Chat_id: update.Message.Chat.Id,\n                Text:    \"Hello, World!\",\n            }\n\n            request.SendMessage(params, false)\n        }\n    })    \n\n    request.Serve()\n}\n```\n\n### ToDo :\n- [x] Get Updates\n- [x] Request Methods\n- [x] Webhook Handler\n- [x] Non-Response Method\n- [ ] Long Polling\n- [ ] Event Listeners\n- [ ] Keyboard Builder\n- [ ] Database Manager\n\n### Contribution :\n\nYou can complete the project's To-Do list or share your ideas through a PR.\nPlease ensure your code is standard and follows Laraquest guidelines.\n\n### Contact :\n[Telegram](https://t.me/Amirh_krgr) - [Email](mailto:laraxgram@gmail.com)\n\n### Version :\n**0.1.1 Alfa**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaraxgram%2Flaraquest-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaraxgram%2Flaraquest-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaraxgram%2Flaraquest-go/lists"}