Versions in this module Expand all Collapse all v1 v1.0.0 Aug 20, 2024 Changes in this version + const MsgTypeLink + const MsgTypeMarkdown + const MsgTypeText + type ChatRobot struct + Secret string + Url string + func NewDingDingTalkRobot(url string, secret string) (*ChatRobot, error) + func (d *ChatRobot) Send(msg interface{}) (ResponseResult, error) + type LinkMsg struct + Link struct{ ... } + MsgType string + func NewLinkMsg() LinkMsg + type MarkdownMsg struct + At struct{ ... } + Markdown struct{ ... } + MsgType string + func NewMarkdownMsg() MarkdownMsg + type ResponseResult struct + ErrCode int + ErrMsg string + type TextMsg struct + At struct{ ... } + MsgType string + Text struct{ ... } + func NewTextMsg() TextMsg