Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment struct {
Fields []*AttachmentField `json:"fields"`
}
Attachment is an attachment.
type AttachmentField ¶
type AttachmentField struct { Title string `json:"title"` Value string `json:"value"` Short bool `json:"short"` }
AttachmentField is an attachment field.
type ChatPostMessageReq ¶
type ChatPostMessageReq struct { Channel string `json:"channel"` IconEmoji string `json:"icon_emoji,omitempty"` Text string `json:"text"` Username string `json:"username,omitempty"` Attachments []*Attachment `json:"attachments"` }
ChatPostMessageReq is a request for chat.postMessage method. https://api.slack.com/methods/chat.postMessage
Click to show internal directories.
Click to hide internal directories.