Documentation ¶
Index ¶
- func IsvalidFeiShuWebHookUrl(url string) bool
- func PushTextMessage(webHookUrl, message string) error
- func PushTextMessageToAll(webHookUrl, message string) error
- func PushTextMessageToDefault(message string) error
- func SetDefaultFeiShuWebHookUrl(url string)
- type FeiShuResponse
- type FeiShuTextMessage
- type FeiShuTextMessageContent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsvalidFeiShuWebHookUrl ¶
func PushTextMessage ¶
func PushTextMessageToAll ¶
func PushTextMessageToDefault ¶
push text message to feiShu default webHookUrl
func SetDefaultFeiShuWebHookUrl ¶
func SetDefaultFeiShuWebHookUrl(url string)
Types ¶
type FeiShuResponse ¶
type FeiShuTextMessage ¶
type FeiShuTextMessage struct { MessageType string `json:"msg_type"` Content FeiShuTextMessageContent `json:"content"` }
type FeiShuTextMessageContent ¶
type FeiShuTextMessageContent struct {
Text string `json:"text"`
}
Click to show internal directories.
Click to hide internal directories.