{"id":27643272,"url":"https://github.com/matrixorigin/wecom-group-bot","last_synced_at":"2025-10-27T00:02:09.487Z","repository":{"id":235954040,"uuid":"791361334","full_name":"matrixorigin/wecom-group-bot","owner":"matrixorigin","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-10T14:26:47.000Z","size":115,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-10T15:28:07.124Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matrixorigin.png","metadata":{"files":{"readme":"README.md","changelog":"news.go","contributing":null,"funding":null,"license":null,"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":"2024-04-24T15:23:31.000Z","updated_at":"2024-04-25T08:11:36.000Z","dependencies_parsed_at":"2024-04-25T04:24:08.838Z","dependency_job_id":"da469039-25d3-4ec7-a257-ba0b77336839","html_url":"https://github.com/matrixorigin/wecom-group-bot","commit_stats":null,"previous_names":["matrixorigin/wecom-group-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrixorigin%2Fwecom-group-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrixorigin%2Fwecom-group-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrixorigin%2Fwecom-group-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrixorigin%2Fwecom-group-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matrixorigin","download_url":"https://codeload.github.com/matrixorigin/wecom-group-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250535105,"owners_count":21446508,"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":[],"created_at":"2025-04-24T00:11:51.088Z","updated_at":"2025-10-27T00:02:04.446Z","avatar_url":"https://github.com/matrixorigin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WeCom Group Bot\n\n## example\n~~~bash\ngo get github.com/matrixorigin/wecom-group-bot\n~~~\n\n~~~go\npackage main\n\nimport (\n\twbot \"github.com/matrixorigin/wecom-group-bot\"\n\t\"github.com/matrixorigin/wecom-group-bot/utils\"\n)\n\nfunc main() {\n\tsender := wbot.NewSender(utils.MustGetEnv(wbot.WebhookEnvName))\n\ttextMessage := wbot.NewTextMessage(\u0026wbot.Text{\n\t\tContent:             \"test test test\",\n\t\tMentionedList:       []string{\"user_id\"},\n\t\tMentionedMobileList: []string{\"xxxxxxxxxx\"},\n\t})\n\terr := sender.Send(textMessage)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tmessage := wbot.NewNewsMessage(\u0026wbot.News{\n\t\tArticles: wbot.Articles{\n\t\t\t{\n\t\t\t\tTitle:       \"中秋节礼品领取\",\n\t\t\t\tDescription: \"今年中秋节公司有豪礼相送\",\n\t\t\t\tURL:         \"www.qq.com\",\n\t\t\t\tPicURL:      \"http://res.mail.qq.com/node/ww/wwopenmng/images/independent/doc/test_pic_msg1.png\",\n\t\t\t},\n\t\t},\n\t})\n\terr = sender.Send(message)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n}\n\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrixorigin%2Fwecom-group-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatrixorigin%2Fwecom-group-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrixorigin%2Fwecom-group-bot/lists"}