Versions in this module Expand all Collapse all v0 v0.0.3 Jan 30, 2023 v0.0.2 Jan 26, 2023 Changes in this version + var GetEmojiMatches = func(emoji string, keywords []string, text string, emojis []string) []string + var GetKeyWordsMap = func() (keywordsMap map[string][]string) + func GetCurrentEmojiNamesOnSlackPost(GetSlackPostEmojisResponse []slack.ItemReaction) []string + func GetEmojisToReactWith(text string) (emojis []string) + func GetSlackMessageBlock(userId string) (SlackMessageBlock []slack.Block) + func ProcessRequest(request events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error) + type Slack struct + func GetSlackApiClient() (slackConfig *Slack, Error error) + func (s *Slack) GetCurrentEmojisOnSlackPost(msgRef slack.ItemRef) ([]slack.ItemReaction, error) + func (s *Slack) PostSlackMessage(message string, channel string) error + func (s *Slack) ProcessSlackCallbackEvent(innerEvent slackevents.EventsAPIInnerEvent) error + func (s *Slack) ReactToSlackPost(text string, timestamp string, channel string) error + func (s *Slack) WelcomeNewSlackUser(slackUser string, channel string) error + type SlackMessage struct + Text *SlackText + Type string + func AddUserIdToSlackMessage(userId string, SlackMessage SlackMessage) SlackMessage + func GetRandomMessage() SlackMessage + func GetSlackMessage(userId string) SlackMessage + type SlackMessages struct + Messages []SlackMessage + func GetSlackMessages() SlackMessages + type SlackText struct + Text string + Type string