Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CardItem ¶
type CardItem struct { Tag string `json:"tag"` //div,hr,button,markdown,note,hr Content string `json:"content"` Text CardText `json:"text,omitempty"` }
CardItem 卡片内容项,参考:https://open.feishu.cn/document/common-capabilities/message-card/message-cards-content/card-structure/card-content
type FeiShu ¶
type FeiShu struct {
// contains filtered or unexported fields
}
func (*FeiShu) SendCard ¶
SendCard @Description: 发送卡片消息 https://open.feishu.cn/document/uAjLw4CM/ukzMukzMukzM/feishu-cards/quick-start/send-message-cards-with-custom-bot
func (*FeiShu) SendPostTxt ¶
SendPostTxt @Description: 发送富文本
type PostItem ¶
type PostItem struct { Tag string `json:"tag"` //text,a,at,img Text string `json:"text,omitempty"` Href string `json:"href,omitempty"` UserId string `json:"user_id,omitempty"` ImageKey string `json:"image_key,omitempty"` }
PostItem 富文本内容项,参考:https://open.feishu.cn/document/client-docs/bot-v3/add-custom-bot
Click to show internal directories.
Click to hide internal directories.