Closed doganoo closed 10 months ago
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.
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.