Created
August 11, 2021 06:50
-
-
Save percybolmer/d87cf779ba7306df8ccc050c1c66c184 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| case socketmode.EventTypeInteractive: | |
| interaction, ok := event.Data.(slack.InteractionCallback) | |
| if !ok { | |
| log.Printf("Could not type cast the message to a Interaction callback: %v\n", interaction) | |
| continue | |
| } | |
| err := handleInteractionEvent(interaction, client) | |
| if err != nil { | |
| log.Fatal(err) | |
| } | |
| socketClient.Ack(*event.Request) | |
| //end of switch | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment