@twurple/eventsub-base
Version:
Base for the other Twurple EventSub packages
23 lines • 926 B
TypeScript
import { DataObject } from '@twurple/common';
import { type EventSubAutoModMessageAutoModData } from './EventSubAutoModMessageAutoMod.external';
import { type EventSubAutoModLevel } from './EventSubAutoModLevel';
import { EventSubAutoModMessageAutoModBoundary } from './EventSubAutoModMessageAutoModBoundary';
/**
* 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