Quick reply api

 Send event id in event notification
This commit is contained in:
2024-12-21 18:16:47 +08:00
parent c02c8cb610
commit 24783a3b66
4 changed files with 104 additions and 16 deletions

View File

@ -7,6 +7,11 @@ import (
func MapAPIs(app *fiber.App, baseURL string) {
api := app.Group(baseURL).Name("API")
{
quick := api.Group("/quick")
{
quick.Post("/:channelId/reply/:eventId", quickReply)
}
channels := api.Group("/channels/:realm").Use(realmMiddleware).Name("Channels API")
{
channels.Get("/", listChannel)