Versions in this module Expand all Collapse all v0 v0.0.8 May 6, 2020 v0.0.7 May 6, 2020 Changes in this version + type ActionCard struct + BtnOrientation string + Btns []struct{ ... } + SingleTitle string + SingleURL string + Test string + Title string + type Links struct + MessageURL string + PicURL string + Title string + type Payload struct + ActionCard ActionCard + At struct{ ... } + FreeCard struct{ ... } + Link struct{ ... } + Makrdown struct{ ... } + MsgType string + Test struct{ ... } + type Response struct + ErrorCode int + ErrorMessage string + type Webhook struct + APIURL string + AccessToken string + Secret string + func NewWebhook(accessToken string) *Webhook + func (w *Webhook) AddSign(params map[string](string), originURL string) string + func (w *Webhook) Getsign() (timestamp, sha string) + func (w *Webhook) SendActionCard(title, content string, linksTitles, linksUrls []string, btnOrienrarion bool) error + func (w *Webhook) SendCompleteActionCard(title, content, linkTitle, linkURL string, btnOrientation bool) error + func (w *Webhook) SendFreeCardMsg(links []Links) error + func (w *Webhook) SendLinkMsg(title, content, picurl, messageurl string) error + func (w *Webhook) SendMakrdownMsg(title string, content string, isAtAll bool, mobiles ...string) error + func (w *Webhook) SendPayload(payload *Payload) error + func (w *Webhook) SendTestMsg(content string, isAtlAll bool, mobiles ...string) error