Closed dontKnew closed 3 months ago
There are public methods provided to access the entries. Follow the location where those properties have been declared and you'll find the methods to use. Some examples for Text instance:
$message_text = $webhook->message();
$userid = $webhook->customer()->id();
$user_name = $webhook->customer()->name();
$messageid = $webhook->id();
The Webhook::read function will return a Notification instance. Please, explore the different notifications availables.
I am getting the instance , but those properties are private, i can access directly, So how can i access that properties.. ??