Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CardRequest ¶ added in v1.1.0
type CardRequest struct {
Msgtype string `json:"msgtype"`
TemplateCard TemplateCard `json:"template_card"`
}
type MarkdownRequest ¶ added in v1.0.2
type Robot ¶ added in v1.0.2
type Robot struct {
Token string
}
func (*Robot) CardMessage ¶ added in v1.0.2
func (*Robot) MarkdownMessage ¶ added in v1.0.2
type TemplateCard ¶ added in v1.1.0
type TemplateCard struct {
CardType string `json:"card_type"`
MainTitle struct {
Title string `json:"title"`
Desc string `json:"desc"`
} `json:"main_title"`
SubTitleText string `json:"sub_title_text"`
JumpList []JumpList `json:"jump_list"`
CardAction struct {
Type int `json:"type"`
Url string `json:"url"`
Appid string `json:"appid"`
Pagepath string `json:"pagepath"`
} `json:"card_action"`
}
Click to show internal directories.
Click to hide internal directories.