Documentation
¶
Index ¶
Constants ¶
View Source
const DingtalkAddr = "https://oapi.dingtalk.com/robot/send"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dingtalk ¶
type Dingtalk struct {
// contains filtered or unexported fields
}
func NewDingtalk ¶
type DingtalkAt ¶
type DingtalkMarkdown ¶
type DingtalkReq ¶
type DingtalkReq struct {
MsgType string `json:"msgtype"` // such as: "text", "markdown"
At *DingtalkAt `json:"at,omitempty"`
Text *DingtalkText `json:"text,omitempty"`
Markdown *DingtalkMarkdown `json:"markdown,omitempty"`
}
type DingtalkResp ¶
type DingtalkText ¶
type DingtalkText struct {
Content string `json:"content"`
}
Click to show internal directories.
Click to hide internal directories.