Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/262.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用PHP在QuickBlox中发送系统通知类型的消息?_Php_Notifications_System_Quickblox - Fatal编程技术网

如何使用PHP在QuickBlox中发送系统通知类型的消息?

如何使用PHP在QuickBlox中发送系统通知类型的消息?,php,notifications,system,quickblox,Php,Notifications,System,Quickblox,如何使用PHP在QuickBlox中发送系统通知类型的消息? 我正在使用以下命令构建系统通知 $data = array( 'recipient_id' => 26046325, 'type' => 'headline', 'action' => 'call

如何使用PHP在QuickBlox中发送系统通知类型的消息? 我正在使用以下命令构建系统通知

$data       = array(
                  'recipient_id'        =>  26046325,
                  'type'                => 'headline',                
                  'action'              => 'call',
                  'message'             => 'Hello ',        
                  'command'             => 'encrypted command',
                  'moduleIdentifier'    => 'SystemNotifications',               
                  );

但该消息是作为普通聊天消息而不是系统通知发送的。

目前无法通过REST API实现

$data       = array(
                  'recipient_id'        =>  26046325,
                  'type'                => 'headline',                
                  'action'              => 'call',
                  'message'             => 'Hello ',        
                  'command'             => 'encrypted command',
                  'moduleIdentifier'    => 'SystemNotifications',               
                  );
您只能通过XMPP API实现这一点

——类似的问题只有一个答案,但这并不令人满意