Buddy4all

From Salumentis

Introduction

User's Guide

Developers Guide

Notification messages

Notifications are sent by the backend via Websocket and/or Firebase push notifications. The following notification are sent:

Friendship endpoints

= When new friendship request has been made

Channel: Websocket Message:

[
  'message' =>  "Mesage text,
            'message_type' => 'friendship_request',
            'friend_id' => $this->friend->id,
            'open_requests' => $n,
            'tooltip' => $tooltip,
            'with_sound' => !$this->broadcastOnly
        ];