message request#
if both users do not have mutual "connection", i.e., there hasn't been an acceptance to a connection request between them, then, there is a need to send a message request, before a conversation can continue in a chat.
use the /user/{id}/message/request
to send a message request;
once the request has been posted, the receiver gets a socket event alert
with the following props;send a message#
this is possible only if there's a mutual connection already, or if the message request has been accepted.receive a message#
after a message has been sent, the connected receiver gets the message, while the socket sends an event action, new-message
;⚠️sometimes, messages can also be received from alerts emitted from the socket, for instance, when a new schedule has been made, its message is sent along the alert props;get messages#
update messages#
the response from here is sent to all recipients in the chat with the same action type, update-messages
;example of such request is;Modified at 2025-06-15 18:02:27