command
Version:
v0.17.3
Opens a new window with list of versions in this module.
Published: Jul 4, 2025
License: BSD-2-Clause
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Events Example
This is a very simple example but should give you a glimpse of how to use the events API.
How to enable this
-
Disable socket mode in the app if it's enabled: this will reveal the Request URL.
-
Set up the events Request URL in a way that matches the endpoint in
events.go.
You can find this here.
-
Set up the events you want to be subscribed to.
-
Copy the bot token and signing secret and set up the environment variables (per code).
-
Run the example:
go run events.go
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.