Documentation
¶
Index ¶
- Constants
- func GetAccessToken(tk token.Token, d data.D) (access.Token, error)
- func Notify(option *config.Options, content interface{}, call FillContentCallback) error
- func SendMessage(corp token.Base, msg Message) (string, error)
- type AccessToken
- type At
- type Content
- type FillContentCallback
- type Image
- type Link
- type Message
- type Response
- type ToAgent
- type ToGroup
- type ToRoot
- type ToWho
- type Video
- type Voice
Constants ¶
View Source
const ApiPrefixUrl = "https://oapi.dingtalk.com"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessToken ¶
func (AccessToken) GetAccessToken ¶
func (a AccessToken) GetAccessToken() access.Value
func (AccessToken) GetRefAccessToken ¶
func (a AccessToken) GetRefAccessToken() access.Value
type At ¶
type At struct { AtMobiles []string `json:"atMobiles,omitempty"` AtUserIds []string `json:"atUserIds,omitempty"` IsAtAll bool `json:"isAtAll,omitempty"` }
"at": { "atMobiles": [ "150XXXXXXXX" ], "atUserIds": [ "user123" ], "isAtAll": false }
type FillContentCallback ¶ added in v1.8.4
type ToAgent ¶
Click to show internal directories.
Click to hide internal directories.