handlers

package
v0.0.0-...-88d6329 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package handlers contains the HTTP request handlers for the Smarters project.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleMessages

func HandleMessages(c *gin.Context)

HandleMessages processes incoming messages from Messenger. @Summary Processes incoming messages from Messenger @Description Receives messages from Messenger and responds with text or buttons @Accept json @Produce json @Param message body models.MessageReceived true "Received message" @Success 200 {object} models.MessageSent @Failure 400 {object} models.ErrorResponse "Bad Request" @Failure 404 {object} models.ErrorResponse "Not Found" @Failure 500 {object} models.ErrorResponse "Internal Server Error" @Router /api/v1/webhook [post]

Types

This section is empty.

Jump to

Keyboard shortcuts

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