How to implement user blocking and unblocking?

How to enable user blocking and unblocking?

You can block users using

kitty.blockUser({ user })

check which users you’ve blocked using

kitty.getUserBlockList()

and unblock a user using

kitty.deleteUserBlockListItem({ item })

This item in unblocking is the users details or is it the entire list?

It should be a block list item returned in kitty.getUserBlockList().