Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalSession = khl.New(os.Getenv("BOTAPI"), plog.NewLogger(&log.Logger{ Level: log.TraceLevel, Writer: &log.ConsoleWriter{}, }))
GlobalSession 全局共享session
Functions ¶
This section is empty.
Types ¶
type CardMessageModule ¶
type CardMessageModule struct {
Type string `json:"type"`
Title string `json:"title"`
Src string `json:"src"`
Cover string `json:"cover"`
}
CardMessageModule khl cardmessage
type CardMessageTextModule ¶
type CardMessageTextModule struct {
Type string `json:"type"`
Text struct {
Type string `json:"type"`
Content string `json:"content"`
} `json:"text"`
}
CardMessageTextModule khl cardmessage Text
Click to show internal directories.
Click to hide internal directories.