Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxTextLength = 2048 MaxMarkdownLength = 4096 )
Variables ¶
View Source
var ( BuildAppName = "?" BuildTime = "?" BuildCommitHash = "?" BuildGoVersion = "?" BuildVersion = "?" )
Functions ¶
This section is empty.
Types ¶
type Messages ¶
type Messages struct { MsgType string `json:"msgtype"` Text MsgText `json:"text,omitempty"` Markdown MsgMarkdown `json:"markdown,omitempty"` Image MsgImage `json:"image,omitempty"` News MsgNews `json:"news,omitempty"` }
type MsgArticles ¶
type MsgMarkdown ¶
type MsgMarkdown struct {
Content string `json:"content"`
}
type MsgNews ¶
type MsgNews struct {
Articles []MsgArticles `json:"articles"`
}
Click to show internal directories.
Click to hide internal directories.