Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Viber API documentation problem with conversation_started event

Tags:

viber

Official Viber API docs doesn't really help on this event, only emphasising that send_message shouldn't be endpoint when triggered. Does anyone know how to code this event for chatbot welcome message in PHP? I covered whole web and found nothing.

like image 490
StrahinjaL Avatar asked Feb 25 '26 16:02

StrahinjaL


1 Answers

For welcome_message you should just echo json_welcome_message in 'conversation_started' handler section, don't send it to send_message endpoint.

like image 182
Oleksandr Talavas Avatar answered Feb 27 '26 06:02

Oleksandr Talavas