Skip to content

Commit eb0e8e8

Browse files
Merge pull request #14 from AaronLuo3296/Add_Markdown_to_Payload
Add Markdown to Payload
2 parents 294f074 + 6a1a15b commit eb0e8e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ type Payload struct {
4141
Attachments []Attachment `json:"attachments,omitempty"`
4242
UnfurlLinks bool `json:"unfurl_links,omitempty"`
4343
UnfurlMedia bool `json:"unfurl_media,omitempty"`
44+
Markdown bool `json:"mrkdwn,omitempty"`
4445
}
4546

4647
func (attachment *Attachment) AddField(field Field) *Attachment {

0 commit comments

Comments
 (0)