Ending call dynamically (WebSocket version)

You are here:
< All Topics

This example of function which allow to end the currently ongoing call dynamically

$thread_id = 34;
$message =  "Your call is end"; //Additional message to show to users (leave empty to not show message)
BP_Better_Messages()->premium->endCall( $thread_id, $message );
Previous Control if user can upload files with hook
Next How to add welcome message for new users?
Table of Contents