UserBlock
data class UserBlock(val blockedBy: String, val userId: String, val blockedAt: Date, val blockedUser: User? = null)
Represents a user block.
Parameters
blockedBy
who is the initiator of the block (usually will contain the ID of the current user)
userId
the ID of the blocked user.
blockedAt
when the action happened
blockedUser
the blocked user. Set in the results of queryBlockedUsers. null in the result of blockUser, or when the blocked user was deleted.