Discover Packages
github.com/wideway/public
myding
package
Version:
v0.0.0-...-4215923
Opens a new window with list of versions in this module.
Published: Mar 13, 2023
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func NewRobot(accessToken, secret string ) *robot
type At struct {
AtMobiles []string `json:"atMobiles"`
IsAtAll bool `json:"isAtAll"`
}
type Link struct {
Text string `json:"text"`
Title string `json:"title"`
PicUrl string `json:"picUrl"`
MessageUrl string `json:"messageUrl"`
}
type Markdown struct {
Title string `json:"title"`
Text string `json:"text"`
}
type MsgInfo struct {
Msgtype string `json:"msgtype"`
At At
Markdown *Markdown `json:"markdown,omitempty"`
Text *Text `json:"text,omitempty"`
Link *Link `json:"link,omitempty"`
}
type Resp struct {
Errcode int `json:"errcode"`
Errmsg string `json:"errmsg"`
}
type Text struct {
Content string `json:"content"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.