Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielolivrp committed Jan 24, 2024
1 parent db5b84f commit 629bdc3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions api/handler/send_document_message_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ func NewSendDocumentMessageHandler(
}
}

// Send Image Message on WhatsApp
// Send Document Message on WhatsApp
//
// @Summary Send Image Message on WhatsApp
// @Description Sends an image message on WhatsApp using the specified instance.
// @Summary Send Document Message on WhatsApp
// @Description Sends an Document message on WhatsApp using the specified instance.
// @Tags WhatsApp Chat
// @Param instanceId path string true "Instance ID"
// @Param data body sendDocumentMessageBody true "Image message body"
// @Param data body sendDocumentMessageBody true "Document message body"
// @Accept json
// @Produce json
// @Success 200 {object} sendDocumentMessageResponse "Message Send Response"
// @Router /{instanceId}/chat/send/image [post]
// @Router /{instanceId}/chat/send/document [post]
func (h *sendDocumentMessageHandler) Handler(c *gin.Context) {
instanceID := c.Param("instanceId")
instance, err := h.whatsAppService.GetInstance(instanceID)
Expand Down

0 comments on commit 629bdc3

Please sign in to comment.