eventsapi

command
v0.17.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2025 License: BSD-2-Clause Imports: 7 Imported by: 0

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

  1. Disable socket mode in the app if it's enabled: this will reveal the Request URL.

  2. Set up the events Request URL in a way that matches the endpoint in events.go.

    You can find this here.

  3. Set up the events you want to be subscribed to.

  4. Copy the bot token and signing secret and set up the environment variables (per code).

  5. Run the example:

    go run events.go
    

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL