UserBlock

constructor(blockedBy: String, userId: String, blockedAt: Date, blockedUser: User? = null)

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.