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 ¶
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.
Click to show internal directories.
Click to hide internal directories.