Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddReaction ¶
AddReaction adds a reaction to a message and logs any error using zerolog with consistent structured fields.
func PostMessage ¶
func PostMessage(api slack.Client, channel, plugin string, options ...slack.MsgOption) (string, string)
PostMessage sends a Slack message to the given channel and logs any error using zerolog with consistent structured fields.
func ThreadReplyOption ¶
ThreadReplyOption returns a slack.MsgOptionTS for threading replies when the given threadTS is non-empty. When threadTS is empty (i.e. the triggering message was not in a thread), a no-op MsgOption is returned so callers can include it unconditionally.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.