package
0.0.0-20240404121558-5fb48e90bf53
Repository: https://github.com/gobridge/gopherbot.git
Documentation: pkg.go.dev

# Functions

NewChannelJoinActions returns a ChannelJoinActions for use.
NewMessage generates a new message from the various inputs.
NewMessageActions returns a new MessageActions struct.
NewTeamJoinActions returns a TeamJoinActions for use.

# Constants

ChannelAppHome is for messages sent to the AppHome.
ChannelDM is for direct messages, or called IMs by Slack API.
ChannelGroupDM is for group direct messages, or called MPIMs by Slack API.
ChannelPrivate is for private channels, called groups by Slack API.
ChannelPublic is for public channels.
ChannelUnknown is for when the type wasn't provided.

# Structs

ChannelJoinActions represents actions to be taken on a team join event.
Message is a singular message to be processed.
MessageAction represents a single piece of interactive action to be taken.
MessageActions is the central point to the interactivity package, and gives us a way to register handlers and then match those against inputs.
RegisteredMessageHandler is what is returned from the MessageActions.Registered() method.
TeamJoinActions represents actions to be taken on a team join event.

# Interfaces

ChannelCache is the interface to describe the shape of a channel cache we accept.
ChannelJoiner is the interface to represent an incoming team join event.
Messenger is the interface to represent an incoming message.
Responder is the interface to describe the functionality used by handlers to respond or react.
TeamJoiner is the interface to represent an incoming team join event.

# Type aliases

ChannelJoinActionFn is a function for handlers to take actions against team join events.
ChannelType represents where a message was sent.
MessageActionFn represents an interactivity action where it's not a simple response, and instead needs a function execution.
MessageMatchFn is a function for consumers to provider their own handler match.
TeamJoinActionFn is a function for handlers to take actions against team join events.