Documentation ¶
Index ¶
- type Client
- func (comp *Client) AddTemplate(tid string, kidList []int, sceneDesc string) (*response3.ResponseSubscribeMessageAddTemplate, error)
- func (comp *Client) DeleteTemplate(priTmplID string) (*response2.ResponseMiniProgram, error)
- func (comp *Client) GetCategory() (*response3.ResponseSubscribeMessageGetCategory, error)
- func (comp *Client) GetPubTemplateKeyWordsByID(tid string) (*response3.ResponseSubscribeMessageGetPubTemplateKeyWordsByID, error)
- func (comp *Client) GetPubTemplateTitleList(ids string, start int, limit int) (*response3.ResponseSubscribeMessageGetPubTemplateTitleList, error)
- func (comp *Client) GetTemplateList() (*response3.ResponseSubscribeMessageGetTemplateList, error)
- func (comp *Client) Send(data *request.RequestSubscribeMessageSend) (*response2.ResponseMiniProgram, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
*kernel.BaseClient
}
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)
func (*Client) AddTemplate ¶
func (comp *Client) AddTemplate(tid string, kidList []int, sceneDesc string) (*response3.ResponseSubscribeMessageAddTemplate, error)
组合模板并添加至帐号下的个人模板库 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.addTemplate.html
func (*Client) DeleteTemplate ¶
func (comp *Client) DeleteTemplate(priTmplID string) (*response2.ResponseMiniProgram, error)
func (*Client) GetCategory ¶
func (comp *Client) GetCategory() (*response3.ResponseSubscribeMessageGetCategory, error)
func (*Client) GetPubTemplateKeyWordsByID ¶
func (comp *Client) GetPubTemplateKeyWordsByID(tid string) (*response3.ResponseSubscribeMessageGetPubTemplateKeyWordsByID, error)
func (*Client) GetPubTemplateTitleList ¶
func (comp *Client) GetPubTemplateTitleList(ids string, start int, limit int) (*response3.ResponseSubscribeMessageGetPubTemplateTitleList, error)
获取帐号所属类目下的公共模板标题 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.getPubTemplateTitleList.html
func (*Client) GetTemplateList ¶
func (comp *Client) GetTemplateList() (*response3.ResponseSubscribeMessageGetTemplateList, error)
获取当前帐号下的个人模板列表 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.getTemplateList.html
func (*Client) Send ¶
func (comp *Client) Send(data *request.RequestSubscribeMessageSend) (*response2.ResponseMiniProgram, error)
Click to show internal directories.
Click to hide internal directories.