QChatMessageAntiSpamOption class

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

QChatMessageAntiSpamOption({String? antiSpamBusinessId, String? customAntiSpamContent, bool? isAntiSpamUsingYidun, bool? isCustomAntiSpamEnable, String? yidunAntiCheating, String? yidunAntiSpamExt, String? yidunCallback})
QChatMessageAntiSpamOption.fromJson(Map<String, dynamic> json)
factory

Properties

antiSpamBusinessId String?
用户配置的对某些单条消息另外的反垃圾的业务ID
getter/setter pair
customAntiSpamContent String?
开发者自定义的反垃圾字段
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isAntiSpamUsingYidun bool?
单条消息是否使用易盾反垃圾
getter/setter pair
isCustomAntiSpamEnable bool?
是否使用自定义反垃圾字段(customAntiSpamContent)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
yidunAntiCheating String?
易盾反垃圾增强反作弊专属字段, 限制json, 长度限制1024
getter/setter pair
yidunAntiSpamExt String?
易盾反垃圾扩展字段, 限制json, 长度限制1024
getter/setter pair
yidunCallback String?
易盾check的回调URL, 目前仅支持Audio类型的消息, 最长256个字符, 如果不合法则忽略该参数
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited