NIMAntispamManager Protocol Reference

Conforms to NSObject
Declared in NIMAntispamManagerProtocol.h

Overview

Anti-spam protocol

– checkLocalAntispam:error: required method

Local anti-spam check

- (nullable NIMLocalAntiSpamCheckResult *)checkLocalAntispam:(NIMLocalAntiSpamCheckOption *)option error:(NSError **)error

Parameters

option

anti-spam option

error

Error message

Return Value

Local anti-spam results updated synchronously after each login Due to network issues or no logins, the local anti-spam results will become invalid. The error parameter contains the specific error message

Discussion

Local anti-spam check

This extension will not be synced with other clients. tThe upper layer must ensure that NSDictionary can be converted to JSON.

Declared In

NIMAntispamManagerProtocol.h