Replies: 2 comments
-
Hi @doganoo your suggestions are always welcome.
I think that clients what consume this library should be able to write logs of their messages without knowing internal details of how the library is built or its objects.
Maybe I could create a dev-3.0 branch and integrate the change there. |
Beta Was this translation helpful? Give feedback.
-
Hi @aalbarca sorry for my late reply and thank you for your input.
I see the point with encapsulation, but do you see any other options? for instance, can we implement an event handler or something similar that gives us the message once sent/received?
As I said, I am open to contribute once you agree :) |
Beta Was this translation helpful? Give feedback.
-
thank you for this great project!
I have two suggestions/RFC's and would like to find out if this is supported.
$message
inNetflie\WhatsAppCloudApi\Request\MessageRequest
:Background: retrieving the message instance enables to log what is sent to the API.
Netflie\WhatsAppCloudApi\WebHook\VerificationRequest
returnPsr\Http\Message\ResponseInterface
instead of emitting the HTTP codes.the
EmptyResponse
andTextResponse
classes have to be implemented.I would be ready to implement this if it is welcome. Please let me know what you think.
Beta Was this translation helpful? Give feedback.
All reactions