Description
Get all chat messages from and to 1 user
This call will give all the messages to and from a single user sorted by time stamp.

You need the logged in bearertoken for this GET fetch call.


API URL
GET-fetch
https://mbo-sd.nlchat/get-messages/<chat-user-id>/<bearertoken>
Return data
status: true/ false if send was succesful
chat-messages: object with all messages, or empty object
chat-message properties
id: unique id of the message in the system
from_user_id: unique id of the senders chatuser id
to_user_id: unique id of the receiving chatuser id
message: message content
created_at: creation timestamp of the message
updated_at: same as creation timestamp, not used in this version
from_name: name from sender chatuser
to_name: name of receiving chatuser
Back to chat API overview  ||  Back to readme index pages