uim channel adaptor api
This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.
- API version: 1.0.0
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen
Install the following dependencies:
go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optionalPut the package under your project folder and add the following in import:
import "./channeladaptor"All URIs are relative to http://localhost:58100/app/wechatmp/adaptor/v1
| Class | Method | HTTP request | Description |
|---|---|---|---|
| ChannelAdaptorApi | ChannelEvent | Post /channelEvent | 渠道事件 |
| ChannelAdaptorApi | ContactDetail | Post /contactDetail | 获取单个联系人详情 |
| ChannelAdaptorApi | ListContact | Post /listContact | 获取运营号所有联系人信息 |
| ChannelAdaptorApi | ProfileDetail | Post /profileDetail | 获取运营号详情 |
| ChannelAdaptorApi | SendCommand | Post /sendCommand | 通用命令 |
| ChannelAdaptorApi | SendMessage | Post /sendMessage | 往给定channel发送消息 |
| ChannelAdaptorApi | UpdateContact | Post /updateContact | 更新联系人信息 |
| ChannelAdaptorApi | UpdateProfile | Post /updateProfile | 更新运营号信息 |
- AdaptorApiEvent
- AdaptorCallbackEvent
- AddContactEvent
- ApiResponse
- Contact
- ContactDetailReq
- ContactMessageEvent
- DelContactEvent
- InlineResponse200
- InlineResponse2001
- InlineResponse2002
- InlineResponse2003
- InlineResponse2004
- InlineResponse2005
- ListContactReq
- Profile
- ProfileDetailReq
- SendCommandReq
- SendCommandRsp
- SendMessageReq
- UpdateContactReq
- UpdateProfileReq
Endpoints do not require authorization.