You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`require_once DIR . '/../vendor/autoload.php'; // Autoload files using Composer autoload
include 'process.php';
use SocketIO\Emitter;
$emitter = new SocketIO\Emitter(array('port' => '5037', 'host' => 'myhost'));
// broadcast can be replaced by any of the other flags
$json['chat']="ded27825e3-0hus5w4vkg1h-664";
$json['message']="Form php";
$json['type']=1;
$json['toBotId']=538;
// $json = json_encode($json, JSON_UNESCAPED_UNICODE);
$emitter->broadcast->emit('sendChatNew', array('chat' => 'ded27825e3-hq7v4dxgsho-295', 'message' => 'very object','type' =>1,'toBotId' =>538));`
The text was updated successfully, but these errors were encountered:
I can not get any response in my backend
Here is mycode
`require_once DIR . '/../vendor/autoload.php'; // Autoload files using Composer autoload
include 'process.php';
use SocketIO\Emitter;
$emitter = new SocketIO\Emitter(array('port' => '5037', 'host' => 'myhost'));
// broadcast can be replaced by any of the other flags
$json['chat']="ded27825e3-0hus5w4vkg1h-664";
$json['message']="Form php";
$json['type']=1;
$json['toBotId']=538;
// $json = json_encode($json, JSON_UNESCAPED_UNICODE);
$emitter->broadcast->emit('sendChatNew', array('chat' => 'ded27825e3-hq7v4dxgsho-295', 'message' => 'very object','type' =>1,'toBotId' =>538));`
The text was updated successfully, but these errors were encountered: