eventsapi

command
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: BSD-2-Clause Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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