user1402 on master
Add reject handler to bot sendM… Merge pull request #13 from dis… (compare)
Thank you, I know how to implement buttons.... what I am interested in is what functionality I attach to the button so that the user sends his phone number to the bot. getUserDetails(userProfile) is useless because it does not serve the phone number. Intercepting ContactMessage from user is useless as well because user can send anyone's contact to the bot.... I (my bot) really needs functionality like Telegram has, that I posted above. Is it possible it Viber API or Viber Node API? Thanks.
As i know in telegram you cant tell defference between contact shared using "request_contact" or just shared with attachment menu
Here's a test case I was advised to do from viber support team:
Yotam (Viber Support)
January 12, 2021 1:23 PM (UTC+02:00)
Regarding not receiving events, can you please confirm you are not seeing incoming requests that are sent to your webhook from Viber when you send your bot a message?
If that is the case, then to allow us to narrow down the cause of the issue, please try the following test:
Let us know the result of step #4 and we'll advise on the next steps.