Hello ,I succeded to integrate Airbnb API,
I am trying to get the threads but my problem that i can't figure out wich message is of the host and wich one is the guest, the data has the same structure for both host and guest
this is a thread example
{
"thread": {
"id": 470465477,
"updated_at": "2018-02-15T13:56:05Z",
"preview_user_id": 166937457,
"preview": "Bonjour Hôtel Eugène en ville . Je suis impatient de passer une nuit dans votre hôtel . \nNous arriverons entre 22h et 23h ",
"unread": false,
"responded": true,
"previously_unread": false,
"other_user": {
"user": {
"id": 139138475,
"first_name": "Marine",
"picture_url": "https://a0.muscache.com/im/pictures/user/2159cdd2-f7fa-45a6-864c-d67548a587f8.jpg?aki_policy=profile...",
"thumbnail_url": "https://a0.muscache.com/im/pictures/user/2159cdd2-f7fa-45a6-864c-d67548a587f8.jpg?aki_policy=profile...",
"has_profile_pic": true
}
},
"status": "accepted",
"status_string": "Accepted"
}
},