Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachmentField ¶
AttachmentField represents the field of Slack message attachment
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents the wrapper of Slack API client
func (*Client) GetChannelID ¶
GetChannelID retrieves internal ID of the given channel
func (*Client) PostMessageWithAttachment ¶
func (c *Client) PostMessageWithAttachment(channelID, color, title, text string, fields []*AttachmentField) error
PostMessageWithAttachment posts message with attachment
Click to show internal directories.
Click to hide internal directories.