QBPrivacyItem class interface. This class structure represents privacy object for managing privacy lists.
@property (assign, nonatomic, readonly, getter=isAllowed) BOOL allow
Determines whether item’s action is allow or deny.
@property (assign, nonatomic) BOOL mutualBlock
Determines whether block is mutual.
By default user, who is blocking, can send messages and presences to the one he blocked without any errors. To achieve a two-way block set this property to YES. After that the user, who is blocking, will receive errors when will try to communicate with blocked user.
@property (assign, nonatomic, readonly) QBPrivacyType privacyType
QBPrivacyItemType type value.
- (nullable instancetype)initWithPrivacyType:(QBPrivacyType)privacyType userID:(NSUInteger)userID allow:(BOOL)allow
Init with privacy type, userID and privacy action.