Documentation
¶
Index ¶
- type MsgValue
- type ReqMiniProgramSubscribeMsg
- type Service
- func (s *Service) GetAccessToken(appID string, appSecret string) (string, error)
- func (s *Service) Init(app sptty.ISptty) error
- func (s *Service) PostGroupBotMsg(req *base.ReqBotMsg) error
- func (s *Service) SendCustomerMsg(token string, body interface{}) error
- func (s *Service) SendMPTemplateMsg(token string, openid string, templateid string, page string, formid string, ...) error
- func (s *Service) SendMiniProgramSubscribeMsg(req *ReqMiniProgramSubscribeMsg) error
- func (s *Service) ServiceName() string
- type SubscribeMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReqMiniProgramSubscribeMsg ¶
type ReqMiniProgramSubscribeMsg struct {
AccessToken string
SubscribeMsg
}
type Service ¶
type Service struct {
sptty.BaseService
// contains filtered or unexported fields
}
func (*Service) GetAccessToken ¶
func (*Service) PostGroupBotMsg ¶
企业微信群机器人消息推送
func (*Service) SendCustomerMsg ¶
func (*Service) SendMPTemplateMsg ¶
func (*Service) SendMiniProgramSubscribeMsg ¶
func (s *Service) SendMiniProgramSubscribeMsg(req *ReqMiniProgramSubscribeMsg) error
小程序订阅消息
func (*Service) ServiceName ¶
Click to show internal directories.
Click to hide internal directories.