Versions in this module Expand all Collapse all v2 v2.1.8 Mar 10, 2024 Changes in this version + type DataItem struct + Color string + Value interface{} + type Message struct + Data map[string]*DataItem + Lang string + MiniprogramState string + Page string + TemplateID string + ToUser string + type Subscribe struct + func NewSubscribe(ctx *context.Context) *Subscribe + func (s *Subscribe) Add(ShortID string, kidList []int, sceneDesc string) (templateID string, err error) + func (s *Subscribe) Delete(templateID string) (err error) + func (s *Subscribe) ListTemplates() (*TemplateList, error) + func (s *Subscribe) Send(msg *Message) (err error) + func (s *Subscribe) UniformSend(msg *UniformMessage) (err error) + type TemplateItem struct + Content string + Example string + PriTmplID string + Title string + Type int64 + type TemplateList struct + Data []TemplateItem + type UniformMessage struct + MpTemplateMsg struct{ ... } + ToUser string + WeappTemplateMsg struct{ ... }