Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Payload ¶
type Payload struct { Channel string `json:"channel,omitempty"` IconEmoji string `json:"icon_emoji,omitempty"` IconURL string `json:"icon_url,omitempty"` Text string `json:"text,omitempty"` Username string `json:"username,omitempty"` }
Payload holds information about the message we want to send. Any of these values except Text may be left empty to use the defaults for the Webhook. IconEmoji and IconURL are mutually exclusive, do not set both. https://api.slack.com/incoming-webhooks#posting_with_webhooks
Click to show internal directories.
Click to hide internal directories.