NIMAntiSpamOption Class Reference
Inherits from | NSObject |
---|---|
Declared in | NIMAntiSpamOption.h |
Overview
Anti-spam option
The option used for anti-spam settings. If the enabled parameter for GuardEase anti-spam is set to YES (the default value is NO.), the message will be transferred to the GuardEase system for anti-spam check (The GuardEase service must be enabled). The parameter is valid only for custom messages
yidunEnabled
Enable or disable anti-spam
@property (nonatomic, assign) BOOL yidunEnabled
Discussion
Enable or disable anti-spam
Declared In
NIMAntiSpamOption.h
content
The content for anti-spam check
@property (nullable, nonatomic, copy) NSString *content
Discussion
The content for anti-spam check
Declared In
NIMAntiSpamOption.h
businessId
Anti-spam business configured in GuardEase
@property (nullable, nonatomic, copy) NSString *businessId
Discussion
Anti-spam business configured in GuardEase
Declared In
NIMAntiSpamOption.h
hitClientAntispam
indicates whether the text is hit in the client anti-spam
@property (nonatomic, assign) BOOL hitClientAntispam
Discussion
indicates whether the text is hit in the client anti-spam
The default value is NO. Use checkLocalAntispam:error: in NIMAntispamManager to verify whether the content is hit and return the value in this field
Declared In
NIMAntiSpamOption.h