Hi I am trying to receive one last message per user. I have filtered out messages but I am getting many messages for one user. How can I get last message of user.

```
   queryset=MessageModel.objects.filter(
          Q(sUser=self.request.user) | Q(rUser=self.request.user)
          ).order_by('-id')

  return queryset

```

I am getting this list from filtering.

```
[
       {
                "message": "Hi b do you want to buy? 2",
                "sUser": 1,
                "rUser": 15,
                "sent": true,
                "pk": 8,
                "user": {
                    "pk": 15
                }
            },
            {
                "message": "a to c",
                "sUser": 1,
                "rUser": 16,
                "sent": true,
                "pk": 7,
                "user": {
                    "pk": 16
                }
            },
            {
                "message": "No thanks not buying this time",
                "sUser": 15,
                "rUser": 1,
                "sent": false,
                "pk": 6,
                "user": {
                    "pk": 15
                }
            },
            {
                "message": "c to a",
                "sUser": 16,
                "rUser": 1,
                "sent": false,
                "pk": 4,
                "user": {
                    "pk": 16
                }
            },
            {
                "message": "Hi b do you want to buy?",
                "sUser": 1,
                "rUser": 15,
                "sent": true,
                "pk": 1,
                "user": {
                    "pk": 15
                }
            }

        ]

```

I want to get message with pk 8 and 7 only because it is the last message to user 15 and 16 but I am getting all messages for 15 and 16.