Skip to content

Commit

Permalink
Merge pull request #14 from AaronLuo3296/Add_Markdown_to_Payload
Browse files Browse the repository at this point in the history
Add Markdown to Payload
  • Loading branch information
ashwanthkumar authored Mar 19, 2018
2 parents 294f074 + 6a1a15b commit eb0e8e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ type Payload struct {
Attachments []Attachment `json:"attachments,omitempty"`
UnfurlLinks bool `json:"unfurl_links,omitempty"`
UnfurlMedia bool `json:"unfurl_media,omitempty"`
Markdown bool `json:"mrkdwn,omitempty"`
}

func (attachment *Attachment) AddField(field Field) *Attachment {
Expand Down

0 comments on commit eb0e8e8

Please sign in to comment.