Documentation
¶
Index ¶
Constants ¶
View Source
const SLACK_API_CHAT string = "https://slack.com/api/chat.postMessage"
View Source
const SLACK_API_UPLOAD string = "https://slack.com/api/files.upload"
Variables ¶
This section is empty.
Functions ¶
func NewSlackBroadcaster ¶
func NewSlackBroadcaster(ctx context.Context, uri string) (broadcaster.Broadcaster, error)
Types ¶
type SlackBroadcaster ¶
type SlackBroadcaster struct {
broadcaster.Broadcaster
// contains filtered or unexported fields
}
func (*SlackBroadcaster) BroadcastMessage ¶
func (br *SlackBroadcaster) BroadcastMessage(ctx context.Context, msg *broadcaster.Message) (uid.UID, error)
Click to show internal directories.
Click to hide internal directories.