Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment struct {
Color string `json:"color"`
AuthorName string `json:"author_name"`
Text string `json:"text"`
MrkdwnIn []string `json:"mrkdwn_in"`
}
Attachment holds the markdown message body
type Payload ¶
type Payload struct {
Channel string `json:"channel"`
Username string `json:"username"`
Text string `json:"text,omitempty"`
Attachments []Attachment `json:"attachments,omitempty"`
}
Payload holds the channel and attachments
Click to show internal directories.
Click to hide internal directories.