package
0.0.0-20230802000540-f17dc8135a0d
Repository: https://github.com/canadiancommander/translationbot.git
Documentation: pkg.go.dev

# Functions

DeleteMessageByResponseUrl removes an ephemeral slack message as identified by responseUrl #### params channelId - ID of the channel in which the ephemeral message resides responseUrl - the response url that identifies the ephemeral message.
DownloadSlackFile #### params slackFile - the slack file to download #### return io reader containing file data.
DownloadSlackFileById #### params fileId - the id of the slack file to download #### return io reader containing file data.
GetRandomEmoji pulls a random emoji from the list of emojis in the slack workspace.
InitializeApi setups the slack api connection.
MsgBlocks extracts block slice from slack message #### params message - message to extract blocks from.
NewMarkdownTextBlock makes a new markdown slack text block.
NewMultiProjectButtonBlockElement creates a new slack button element that allows the user to select which project the action performed by the button should operate on #### params actionId - the action to perform value - the value to send to that action text - the button text.
NewTextBlock makes a new slack text block.
PostResponse posts a response message to slack.
SlackMessageToMsgOption converts a Message in to a MsgOption.

# Constants

No description provided by the author
TextBlockCharacterLimit indicates the maximum number of characters a text block can contain.

# Variables

No description provided by the author

# Structs

MultiProjectInputDto is the input dto for the multi project proxy action.