mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-23 04:22:02 -06:00
Merge pull request #379 from judsonjuniorr/sendList-swagger-docs
Added sendList endpoint to swagger documentation
This commit is contained in:
commit
bff8064597
@ -940,6 +940,71 @@ paths:
|
|||||||
description: Successful response
|
description: Successful response
|
||||||
content:
|
content:
|
||||||
application/json: {}
|
application/json: {}
|
||||||
|
/message/sendList/{instanceName}:
|
||||||
|
post:
|
||||||
|
tags:
|
||||||
|
- Send Message Controller
|
||||||
|
summary: Send a list to a specified instance.
|
||||||
|
description: This endpoint allows users to send a list to a chat.
|
||||||
|
requestBody:
|
||||||
|
required: true
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
number:
|
||||||
|
type: string
|
||||||
|
options:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
delay:
|
||||||
|
type: integer
|
||||||
|
presence:
|
||||||
|
type: string
|
||||||
|
listMessage:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
title:
|
||||||
|
type: string
|
||||||
|
description:
|
||||||
|
type: string
|
||||||
|
footerText:
|
||||||
|
type: string
|
||||||
|
nullable: true
|
||||||
|
buttonText:
|
||||||
|
type: string
|
||||||
|
sections:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
title:
|
||||||
|
type: string
|
||||||
|
rows:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
title:
|
||||||
|
type: string
|
||||||
|
description:
|
||||||
|
type: string
|
||||||
|
rowId:
|
||||||
|
type: string
|
||||||
|
parameters:
|
||||||
|
- name: instanceName
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
description: The name of the instance to which the poll should be sent.
|
||||||
|
example: "evolution"
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
description: Successful response
|
||||||
|
content:
|
||||||
|
application/json: {}
|
||||||
|
|
||||||
/chat/whatsappNumbers/{instanceName}:
|
/chat/whatsappNumbers/{instanceName}:
|
||||||
post:
|
post:
|
||||||
|
Loading…
Reference in New Issue
Block a user