Documentation ¶
Index ¶
- type GroupRobotMsgFile
- type GroupRobotMsgImage
- type GroupRobotMsgMarkdown
- type GroupRobotMsgNews
- type GroupRobotMsgNewsArticles
- type GroupRobotMsgTemplateCard
- type GroupRobotMsgText
- type RequestGroupRobotMsg
- type TemplateCardCardAction
- type TemplateCardEmphasisContent
- type TemplateCardHorizontalContentListItem
- type TemplateCardImage
- type TemplateCardJumpListItem
- type TemplateCardMainTitle
- type TemplateCardSource
- type TemplateCardVerticalContentListItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupRobotMsgFile ¶
type GroupRobotMsgFile struct {
MediaID string `json:"media_id"`
}
type GroupRobotMsgImage ¶
type GroupRobotMsgMarkdown ¶
type GroupRobotMsgMarkdown struct {
Content string `json:"content"`
}
type GroupRobotMsgNews ¶
type GroupRobotMsgNews struct {
Articles []GroupRobotMsgNewsArticles `json:"articles"`
}
type GroupRobotMsgTemplateCard ¶
type GroupRobotMsgTemplateCard struct { CardType string `json:"card_type"` Source TemplateCardSource `json:"source,omitempty"` MainTitle TemplateCardMainTitle `json:"main_title,omitempty"` CardImage TemplateCardImage `json:"card_image,omitempty"` VerticalContentList []TemplateCardVerticalContentListItem `json:"vertical_content_list"` EmphasisContent TemplateCardEmphasisContent `json:"emphasis_content,omitempty"` SubTitleText string `json:"sub_title_text"` HorizontalContentList []TemplateCardHorizontalContentListItem `json:"horizontal_content_list,omitempty"` JumpList []TemplateCardJumpListItem `json:"jump_list,omitempty"` CardAction TemplateCardCardAction `json:"card_action,omitempty"` }
type GroupRobotMsgText ¶
type RequestGroupRobotMsg ¶
type RequestGroupRobotMsg struct { MsgType string `json:"msgtype"` Text GroupRobotMsgText `json:"text,omitempty"` Markdown GroupRobotMsgMarkdown `json:"markdown,omitempty"` Image GroupRobotMsgImage `json:"image,omitempty"` News GroupRobotMsgNews `json:"news,omitempty"` File GroupRobotMsgFile `json:"file"` TemplateCard GroupRobotMsgTemplateCard `json:"template_card"` }
type TemplateCardCardAction ¶
type TemplateCardImage ¶
type TemplateCardMainTitle ¶
type TemplateCardSource ¶
Click to show internal directories.
Click to hide internal directories.