Documentation
¶
Index ¶
Constants ¶
View Source
const (
Name = "dingding"
)
内置变量
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct { MsgType string `json:"msgtype"` Text struct { Content string `json:"content"` } `json:"text,omitempty"` }
Message entity post to dingding api
type Response ¶
type Response struct { Token string `json:"access_token"` ErrorMessage string `json:"errmsg"` ErrorCode int `json:"errcode"` TaskID int `json:"task_id"` RequestID string `json:"request_id"` // contains filtered or unexported fields }
Response is the access token used to send message to dingding
Click to show internal directories.
Click to hide internal directories.