{"id":18663260,"url":"https://github.com/ronething/pc-wechat-bot-client","last_synced_at":"2025-10-08T12:38:59.342Z","repository":{"id":103356956,"uuid":"322047249","full_name":"ronething/pc-wechat-bot-client","owner":"ronething","description":"pc wechat golang 客户端","archived":false,"fork":false,"pushed_at":"2020-12-16T17:23:02.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-03T21:32:43.435Z","etag":null,"topics":["golang","http","websocket","wechat"],"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/ronething.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":"2020-12-16T16:58:30.000Z","updated_at":"2024-06-19T07:48:33.877Z","dependencies_parsed_at":"2023-07-07T21:45:22.883Z","dependency_job_id":null,"html_url":"https://github.com/ronething/pc-wechat-bot-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronething%2Fpc-wechat-bot-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronething%2Fpc-wechat-bot-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronething%2Fpc-wechat-bot-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronething%2Fpc-wechat-bot-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ronething","download_url":"https://codeload.github.com/ronething/pc-wechat-bot-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239487435,"owners_count":19646997,"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":["golang","http","websocket","wechat"],"created_at":"2024-11-07T08:15:51.624Z","updated_at":"2025-10-08T12:38:54.291Z","avatar_url":"https://github.com/ronething.png","language":"Go","readme":"\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n**Table of Contents**  *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n- [wechat-bot-go](#wechat-bot-go)\n- [**接收**消息类型](#%E6%8E%A5%E6%94%B6%E6%B6%88%E6%81%AF%E7%B1%BB%E5%9E%8B)\n- [acknowledgement](#acknowledgement)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n### wechat-bot-go\n\nwechat bot golang client\n\n### **接收**消息类型\n\n- 群文本消息\n\n```json\n{\n  \"content\":\"高速老是在修路\",\n  \"id\":\"20201211160304\",\n  \"receiver\":\"xxxx@chatroom\", \n  \"sender\":\"wxid_xxxxxx\",\n  \"srvid\":1,\n  \"time\":\"2020-12-11 16:03:04\",\n  \"type\":1\n}\n```\n\n注意到 receiver 为群聊 roomid, sender 为发送的人\n\n- 个人文本消息\n\n```json\n{\n  \"content\":\"？\",\n  \"id\":\"20201211160346\",\n  \"receiver\":\"self\",\n  \"sender\":\"wxid_xxxx\",\n  \"srvid\":1,\n  \"time\":\"2020-12-11 16:03:46\",\n  \"type\":1\n}\n```\n\n注意到 receiver 为 self，也就是说接收个人消息的话可以通过这个 key 来进行判断\n\n### acknowledgement\n\n- [wechat-bot](https://github.com/cixingguangming55555/wechat-bot)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fronething%2Fpc-wechat-bot-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fronething%2Fpc-wechat-bot-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fronething%2Fpc-wechat-bot-client/lists"}