StrahinjaL
StrahinjaL

Reputation: 45

Viber API documentation problem with conversation_started event

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.

Upvotes: 3

Views: 608

Answers (1)

Oleksandr Talavas
Oleksandr Talavas

Reputation: 11

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

Upvotes: 1

Related Questions