Documentation ¶
Index ¶
Constants ¶
View Source
const OAPIURL = "https://oapi.dingtalk.com/robot/send"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionCardButton ¶
type ActionCardMessage ¶
type ActionCardMessage struct { Title string Content string Horizontal bool Buttons []ActionCardButton }
func (ActionCardMessage) Render ¶
func (m ActionCardMessage) Render() (ret []byte, err error)
type Bot ¶
type Bot struct {
// contains filtered or unexported fields
}
func (*Bot) SendMessage ¶
func (s *Bot) SendMessage(msg MessageRender) (err error)
type FeedCardLink ¶
type FeedCardMessage ¶
type FeedCardMessage struct {
Links []FeedCardLink
}
func (FeedCardMessage) Render ¶
func (m FeedCardMessage) Render() (ret []byte, err error)
type LinkMessage ¶
func (LinkMessage) Render ¶
func (m LinkMessage) Render() (ret []byte, err error)
type MarkDownMessage ¶
MarkDownMessage AtMobiles and AtAll cannot work at the same time
func (MarkDownMessage) Render ¶
func (m MarkDownMessage) Render() (ret []byte, err error)
type MessageRender ¶
type TextMessage ¶
TextMessage AtMobiles and AtAll cannot work at the same time
func (TextMessage) Render ¶
func (m TextMessage) Render() (ret []byte, err error)
Click to show internal directories.
Click to hide internal directories.