UNPKG

@twurple/eventsub-base

Version:

Base for the other Twurple EventSub packages

21 lines 793 B
import { DataObject } from '@twurple/common'; import { type EventSubAutoModMessageAutoModBoundaryData } from './EventSubAutoModMessageAutoModBoundary.external.js'; /** * The bounds of the text that caused the message to be caught. */ export declare class EventSubAutoModMessageAutoModBoundary extends DataObject<EventSubAutoModMessageAutoModBoundaryData> { private readonly _messageText; /** * The start index (inclusive) of the problematic text in the message. */ get start(): number; /** * The end index (inclusive) of the problematic text in the message. */ get end(): number; /** * The problematic text that caused message to be caught. */ get text(): string; } //# sourceMappingURL=EventSubAutoModMessageAutoModBoundary.d.ts.map