Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Ha Doan
@doanha1982
this event never fire. does anybody know how to fix this?
ranwa
@Ranwa96
hey @doanha1982 try to write on subscribe event in this way bot.onSubscribe(response => console.log(Subscribed: ${response.userProfile.name}));
9 replies
ranwa
@Ranwa96
hey everyone i wanna make rich media with location-picker action but this error still appear :
rich_media is not valid. [instance value ("location-picker") not found in enum (possible values: ["reply","open-url","","none"])]' .
note: i defined minappversion new RichMedia(location,"","","",{},"",4);
oliapanidou
@oliapanidou
I sent a message to someone that it was delivered. And the next morning once it was read, the message bubble turned into red. What does that mean?
vladyjaiz
@vladyjaiz
I just wanna ask is there a send message limit? I've been trying to send at least 15 messages to different users (11 at the moment) but some people don't receive the same amount of messages. Some didn't receive anything at all. I've resorted to put delays for each message to send for about 30 seconds. These messages are also Rich Media Messages with 4 carousels. Am I doing something wrong?
Vitaliy
@scorpioRED
Hi!
Anyone have a tried to use ‘’’bot.onConversationStarted’’’ ?
With a deeplink?
Sameera Piyadigamage
@samma89
optionalTrackingData never get sent or received
is this intentional?
has to be a mistake isnt it?
Turentkm
@Turentkm
just started building a bot in node.js.
got couple of problems:
1) the only one who can send messages to the bot is me, as an administrator!
2) my message objects does not contains sender.id or user.id?
3) how to set up a subcription?
anyone knows how to fix this?
(running on node.js with ngrok hookup).
Turentkm
@Turentkm
two last problems solved, one problem left, how to let people start conversation from phone
IDONTSUDO
@IDONTSUDO
test exampel dont work
(node:10436) UnhandledPromiseRejectionWarning: #<Object> (node:10436) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:10436) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
WTF? this is generally a bug at the Express level

`
user@WIN-O975L0V8NGO MINGW64 ~/Desktop/azure/sample-bot-isitup (master)
$ npm run start

isitup-bot@1.0.1 start C:\Users\user\Desktop\azure\sample-bot-isitup
node src/index.js

[2020-08-03 17:54:52.241] [DEBUG] Could not find the now.sh/Heroku environment variables. Trying to use the local ngrok server.[2020-08-03 17:54:52.268] [INFO] Sending 'setWebhook' request for url: https://a0ea5a4abb17.ngrok.io, isInline: undefined
[2020-08-03 17:54:52.304] [DEBUG] Opening request to url: 'https://chatapi.viber.com/pa/set_webhook' with data
url: https://a0ea5a4abb17.ngrok.io
is_inline: undefined
event_types:

- subscribed
- unsubscribed
- conversation_started
- message
- delivered
- seen

[2020-08-03 17:54:55.773] [ERROR] Response error
status: 1
status_message: Result[HttpRequest[POST / HTTP/1.1]@5dc9c455 > HttpResponse[HTTP/1.1 502 Bad Gateway]@3ed656c2] null
chathostname: SN-CHAT-08
`

IDONTSUDO
@IDONTSUDO
sorry bad english :D
siquylee
@siquylee
image.png
Anybody knows how to create a menu like this for a Viber chatbot
The users are not allowed to input text but select the menu button
Vitaliy
@scorpioRED
Hi How do I get user phone number?
Metamodern
@MetaMmodern
HI
image.png
Can anyone explain WHY THE F*CK IS VIBER NOT GIVING ME THE FILE
It shows the file is not available
I've sent it from bot and now I(or my user) can't download it
image.png
here is how i send the file
Metamodern
@MetaMmodern
Why viber does not have a normal documentation? why it doesnt have issues tab on github?
Metamodern
@MetaMmodern
the solution was to route those files I created.
Khattak24
@Khattak24
hi how to fetch user detail using python?? Any Idea -> like i want to give a number and the function returns the information against that number with detail
Preslav Semov Hadzhitsanev
@preslavsh
@siquylee you should use InputState hidden on the keyboard, check this Viber/viber-bot-node#17 is you have issues with greetings keyboard
@scorpioRED https://developers.viber.com/docs/tools/keyboards/ ActionType: share-phone should do the work
@Khattak24 use https://gitter.im/viber/bot-python this channel
Khattak24
@Khattak24
@preslavsh ok thanks
Ali
@Xihuny
"InputFieldState": "hidden" does not work if I put new KeyboardMessage() inside bot.onConversationStarted(...)
It's showing text input box and keyboard buttons both together
mabann
@mabann
Hi,My bot is receiving file message with url undefined. It was working earlier. Why is this happening?
Preslav Semov Hadzhitsanev
@preslavsh
@Xihuny you should use the min api version in your message. The problem is that you cannot define it in your text message and you should manually change your library which is terrible, but check this out: Viber/viber-bot-node#17
Hello guys, can you help me merge this PR: Viber/viber-bot-node#17
by sending support ticket to Viber https://help.viber.com/en/contact

Example message: :Hello, Viber team

The developers using viber-bot-node really
need this PR merged: Viber/viber-bot-node#17

Best Regards.

Edrich Hans Chua
@edrichhans
Hello, when I share my chatbot through the URL https://chats.viber.com/my-public-account, I am getting "This account does not exist or has been removed"
But otherwise, the QR code and sharing directly in viber works
Is there any way I can get the URL to work?
Preslav Semov Hadzhitsanev
@preslavsh
@edrichhans Is the bot published from the menu. And how many users do you have
Vitaliy
@scorpioRED
Hi there!
How do I change bot age restriction?
My bot is not share any adult content
Vitaliy
@scorpioRED
And not any paid services there
Preslav Semov Hadzhitsanev
@preslavsh
@scorpioRED you can do it from the menu on the bot profile