UNPKG

@twurple/eventsub-base

Version:

Base for the other Twurple EventSub packages

29 lines 903 B
import type { HelixUser } from '@twurple/api'; import { EventSubChannelBaseModerationEvent } from './EventSubChannelBaseModerationEvent.js'; /** * An EventSub event representing a moderator starting a raid on a channel. */ export declare class EventSubChannelRaidModerationEvent extends EventSubChannelBaseModerationEvent { readonly moderationAction: "raid"; /** * The ID of the user being raided. */ get userId(): string; /** * The name of the user being raided. */ get userName(): string; /** * The display name of the user being raided. */ get userDisplayName(): string; /** * Gets more information about the user. */ getUser(): Promise<HelixUser | null>; /** * The number of viewers who came with the raid. */ get viewerCount(): number; } //# sourceMappingURL=EventSubChannelRaidModerationEvent.d.ts.map