UNPKG

@twurple/eventsub-base

Version:

Base for the other Twurple EventSub packages

37 lines 1.22 kB
import { DataObject } from '@twurple/common'; import { type EventSubAutoModMessageFoundBlockedTermData } from './EventSubAutoModMessageBlockedTerm.external.js'; /** * An object representing an AutoMod blocked term that caused the message to be caught. */ export declare class EventSubAutoModMessageBlockedTerm extends DataObject<EventSubAutoModMessageFoundBlockedTermData> { private readonly _messageText; /** * The ID of the blocked term. */ get id(): string; /** * The start index (inclusive) of the blocked term in the message. */ get start(): number; /** * The end index (inclusive) of the blocked term in the message. */ get end(): number; /** * The text of the blocked term. */ get text(): string; /** * The ID of the broadcaster that owns the blocked term. */ get ownerBroadcasterId(): string; /** * The name of the broadcaster that owns the blocked term. */ get ownerBroadcasterName(): string; /** * The display name of the broadcaster that owns the blocked term. */ get ownerBroadcasterDisplayName(): string; } //# sourceMappingURL=EventSubAutoModMessageBlockedTerm.d.ts.map