Documentation ¶
Index ¶
Constants ¶
View Source
const MaxMessageLimit = 4000
MaxMessage is the maximium size of a slack message according to slacks docs https://api.slack.com/changelog/2018-04-truncating-really-long-messages#:~:text=The%20text%20field%20of%20messages,but%20left%20the%20consequences%20ambiguous.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // PostMessage will sends a message as the token user to the specified channel PostMessage(channel string, message string) error // PostRawMessage will sends a raw message as the token user to the specified channel PostRawMessage(message MessageRequest) error }
Client defines the interface to interact with the slack API
Click to show internal directories.
Click to hide internal directories.