message->contact() is null, why? #315
Answered
by
ChillMouse
ChillMouse
asked this question in
Q&A
-
Hello, my bot can handle my messages with my contact is correct. But another users, after send contact, getting error. In logs like: "->phoneNumber() call in null" And in debug log webhook: "{'text': '78889998876'}" I have question.. why contact is null? |
Beta Was this translation helpful? Give feedback.
Answered by
ChillMouse
Jan 17, 2023
Replies: 1 comment 1 reply
-
Okay, fixed it. Need everytime check $this->message->contact() is eq. "null" or no But doesn't works option of command drop pending "php artisan telegraph:unset-webhook --drop-pending-updates" |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ChillMouse
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Okay, fixed it.
Need everytime check $this->message->contact() is eq. "null" or no
But doesn't works option of command drop pending "php artisan telegraph:unset-webhook --drop-pending-updates"