Table of Contents

Struct InviteFilterTarget

Namespace
Kook
Assembly
Kook.Net.Experimental.dll

表示一个服务器邀请链接过滤器的过滤目标。

public readonly struct InviteFilterTarget : IContentFilterTarget
Implements
Inherited Members

Properties

GuildIds

获取被过滤的服务器 ID 列表。

public required IReadOnlyCollection<ulong> GuildIds { get; init; }

Property Value

IReadOnlyCollection<ulong>

Remarks

排除列表之外的服务器用户,根据 Mode 的模式,无法发送或只能发送包含其 ID 位于此列表中的服务器的邀请链接。

Mode

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

public ContentFilterMode Mode { get; init; }

Property Value

ContentFilterMode

Type

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

public ContentFilterType Type { get; }

Property Value

ContentFilterType