zenvia / zenvia-openapi-spec

Zenvia API OpenAPI Specification
MIT License
16 stars 6 forks source link

[WHAT-3044] feat/reply-to-outbound #294

Closed guisteink closed 1 year ago

guisteink commented 1 year ago

Adicionar idRef e contentRef no payload de envio https://zenvia.atlassian.net/wiki/spaces/PDOC/pages/17062166622/2023-06+Reply+to+outbound

image

image

rafael-org commented 1 year ago

Acho que ficou legal, só ajustaria os textos pra ficar no padrão dos outros, e já prepara a possibilidade de implementação em outros canais, e talvez pra explicar um pouco melhor.

Tipo de Reference to the sent or received message in WhatsApp pra:

Id of the message sent or received in the conversation channel to reference as a message quote.
<br>*Only applicable to [WhatsApp](#tag/WhatsApp) channel.*

e de Reference to the index of the sent or received content. If ommited, the reference will be made to the first content of the message pra:

Index of the content in the message sent or received in the conversation channel to reference as a message quote.
<br>If ommited, the index to reference will be `0` (the first content of the message).
<br>*Only applicable to [WhatsApp](#tag/WhatsApp) channel.*

E nesse caso, eu até declaria como default o valor 0 no campo, o que por sua vez tornaria o If ommited, the index to reference will be `0` (the first content of the message). opcional, mas eu manteria já que content index pode não ficar tão óbvio o valor a ser usado.