Skip to content

qchat_def.message_def.QChatMessageAntiSpamInfo

Zvicii edited this page Jul 7, 2023 · 6 revisions

Interface: QChatMessageAntiSpamInfo

qchat_def/message_def.QChatMessageAntiSpamInfo

QChatMessageAntiSpamInfo

Table of contents

Properties

Properties

use_custom_content

Optional use_custom_content: boolean

是否需要使用自定义反垃圾字段(即antiSpamContent), false:不需要, true:需要

Defined in

ts/qchat_def/message_def.ts:38


anti_spam_using_yidun

Optional anti_spam_using_yidun: boolean

单条消息是否使用易盾反垃圾, false:(在开通易盾的情况下)不过易盾反垃圾, 其他都是按照原来的规则

Defined in

ts/qchat_def/message_def.ts:40


anti_spam_content

Optional anti_spam_content: string

反垃圾内容, 开发者自定义的反垃圾字段, 如果提供了这个字段, 在过反垃圾时不会再使用body或者attach

Defined in

ts/qchat_def/message_def.ts:42


anti_spam_bussiness_id

Optional anti_spam_bussiness_id: string

反垃圾业务ID, 对某些单条消息另外的反垃圾的业务ID

Defined in

ts/qchat_def/message_def.ts:44


yidun_callback_url

Optional yidun_callback_url: string

易盾check的回调URL

Defined in

ts/qchat_def/message_def.ts:46


yidun_anti_cheating

Optional yidun_anti_cheating: string

易盾反垃圾增强反作弊专属字段, 限制json, 长度限制1024

Defined in

ts/qchat_def/message_def.ts:48


yidun_anti_spam_ext

Optional yidun_anti_spam_ext: string

易盾反垃圾扩展字段, 限制json, 长度限制1024

Defined in

ts/qchat_def/message_def.ts:50

Clone this wiki locally