How to handle received Contact from request Contact ReplyButton ? #181
-
This is a Button on my Keyboard. Then, this is a ReplyButton for a Contact request on my ReplyKeyboard. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! you can handle inside your CustomWebhookHandler by using the handleChatMessage method: class CustomWebhookHandler extends WebhookHandler
{
//....
protected function handleChatMessage(Stringable $text): void
{
$phone = $this->message->contact()->phoneNumber();
//...
}
} |
Beta Was this translation helpful? Give feedback.
Hi!
you can handle inside your CustomWebhookHandler by using the handleChatMessage method: