Table of Contents

Struct WordFilterTarget

Namespace
Kook
Assembly
Kook.Net.Experimental.dll

表示一个词汇过滤器的过滤目标。

public readonly struct WordFilterTarget : IContentFilterTarget
Implements
Inherited Members

Properties

Mode

获取此内容过滤目标的模式。

public ContentFilterMode Mode { get; }

Property Value

ContentFilterMode

Type

获取此内容过滤器的类型。

public ContentFilterType Type { get; }

Property Value

ContentFilterType

Words

获取被过滤的词汇列表。

public required IReadOnlyCollection<string> Words { get; init; }

Property Value

IReadOnlyCollection<string>

Remarks

排除列表之外的服务器用户无法发送包含这些词汇的消息。