@twurple/eventsub-base
Version:
Base for the other Twurple EventSub packages
23 lines • 935 B
TypeScript
import { DataObject } from '@twurple/common';
import { type EventSubAutoModMessageAutoModData } from './EventSubAutoModMessageAutoMod.external.js';
import { type EventSubAutoModLevel } from './EventSubAutoModLevel.js';
import { EventSubAutoModMessageAutoModBoundary } from './EventSubAutoModMessageAutoModBoundary.js';
/**
* An object representing an AutoMod violation data if the massage caught by AutoMod.
*/
export declare class EventSubAutoModMessageAutoMod extends DataObject<EventSubAutoModMessageAutoModData> {
private readonly _messageText;
/**
* The category of the caught message.
*/
get category(): string;
/**
* The level of severity.
*/
get level(): EventSubAutoModLevel;
/**
* The bounds of the text that caused the message to be caught.
*/
get boundaries(): EventSubAutoModMessageAutoModBoundary[];
}
//# sourceMappingURL=EventSubAutoModMessageAutoMod.d.ts.map