Documentation ¶
Overview ¶
Package slack is a Cloud Function which recieves a query from a Slack command and responds with the KG API result.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct { ResponseType string `json:"response_type"` Text string `json:"text"` Attachments []attachment `json:"attachments"` }
Message is the a Slack message event. see https://api.slack.com/docs/message-formatting
Click to show internal directories.
Click to hide internal directories.