Able to directly open (get the image) of a sticker

This commit is contained in:
2025-01-06 21:51:26 +08:00
parent 8cd1037759
commit 8bcf02fa5e
2 changed files with 35 additions and 3 deletions

View File

@@ -49,7 +49,8 @@ func MapAPIs(app *fiber.App, baseURL string) {
stickers := api.Group("/stickers").Name("Stickers API")
{
stickers.Get("/lookup", lookupStickerBatch)
stickers.Get("/lookup/:alias", lookupSticker)
stickers.Get("/lookup/:alias", getStickerByAlias)
stickers.Get("/lookup/:alias/open", openStickerByAlias)
stickers.Get("/", listStickers)
stickers.Get("/:stickerId", getSticker)