{"id":19035496,"url":"https://github.com/node-webot/wechat-enterprise-im","last_synced_at":"2025-04-23T18:23:06.686Z","repository":{"id":35079246,"uuid":"39233195","full_name":"node-webot/wechat-enterprise-im","owner":"node-webot","description":"A lib for wechat enterprise IM services.","archived":false,"fork":false,"pushed_at":"2016-09-21T06:14:45.000Z","size":20,"stargazers_count":15,"open_issues_count":0,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-18T04:12:45.068Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/node-webot.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}},"created_at":"2015-07-17T03:32:40.000Z","updated_at":"2018-12-18T09:28:31.000Z","dependencies_parsed_at":"2022-09-05T18:50:21.722Z","dependency_job_id":null,"html_url":"https://github.com/node-webot/wechat-enterprise-im","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/node-webot%2Fwechat-enterprise-im","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-webot%2Fwechat-enterprise-im/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-webot%2Fwechat-enterprise-im/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-webot%2Fwechat-enterprise-im/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-webot","download_url":"https://codeload.github.com/node-webot/wechat-enterprise-im/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250488151,"owners_count":21438726,"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":"2024-11-08T21:50:59.468Z","updated_at":"2025-04-23T18:23:06.668Z","avatar_url":"https://github.com/node-webot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wechat-enterprise-im\nA lib for wechat enterprise IM services.\n\n微信公共平台企业号版－企业号消息\n\n## 目的与场景\n\n目前，较多的企业已在内部部署了IM工具，并运行良好。但随着移动办公需求的不断增强，迫切需要在移动设备上接入企业IM。企业号消息服务，可以方便地将微信和企业IM连接起来，把微信做为企业IM的移动端，快速实现内部IM的移动化。\n\n企业号消息服务支持文本、图片、文件消息类型；支持单聊和群聊，支持在微信客户端主动发起会话。\n\n\n### 使用企业号消息服务，你需要：\n\n- 一、将企业IM的组织架构导入企业号，保持两者一致\n\n- 二、在企业号管理端，以超级管理员身份开通企业号消息服务。开通后，即可基于组织架构在微信上聊天。如果需要对接企业IM，则仍需做以下几步\n\n- 三、配置回调URL等参数，并获取corpid、secret\n\n- 四、根据用户在企业IM的行为，调用企业号api，维护会话、发消息\n\n- 五、接收企业号推送的事件，包括会话的变更、用户发送的消息等，并在企业IM上做出响应。当推送失败时，企业号会重试，重试时间最大为一天。\n\n### 请注意：\n\n企业号消息服务的secret，只具有部分接口权限，不支持管理企业号应用、基于应用的发送消息/自定义菜单等接口。支持的接口包括：\n\n- 1、通讯录的管理，管辖范围为整个公司\n\n- 2、管理多媒体文件\n\n- 3、本文中描述的消息通道接口\n\n## 官方文档\n- [文档主页](http://qydev.weixin.qq.com/wiki/index.php?title=%E4%BC%81%E4%B8%9A%E5%8F%B7%E6%B6%88%E6%81%AF%E6%9C%8D%E5%8A%A1)\n\n\n## License\nThe MIT license.\n\n## 交流群\nQQ群：157964097，使用疑问，开发，贡献代码请加群。\n\n## 感谢\n感谢以下贡献者：\n\n```\n\n project  : wechat-enterprise-im\n repo age : 6 weeks\n active   : 5 days\n commits  : 6\n files    : 18\n authors  :\n     6\tNick Ma                 100%\n\n```\n\n## 捐赠\n如果您觉得Wechat企业号版本对您有帮助，欢迎请作者一杯咖啡\n\n![捐赠wechat](https://cloud.githubusercontent.com/assets/327019/2941591/2b9e5e58-d9a7-11e3-9e80-c25aba0a48a1.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-webot%2Fwechat-enterprise-im","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnode-webot%2Fwechat-enterprise-im","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-webot%2Fwechat-enterprise-im/lists"}