UNPKG

@twurple/eventsub-base

Version:

Base for the other Twurple EventSub packages

25 lines 827 B
import { EventSubChannelBaseModerationEvent } from './EventSubChannelBaseModerationEvent'; import type { HelixUser } from '@twurple/api'; /** * An EventSub event representing a user having lost moderator status on a channel. */ export declare class EventSubChannelUnmodModerationEvent extends EventSubChannelBaseModerationEvent { readonly moderationAction = "unmod"; /** * The ID of the user losing mod status. */ get userId(): string; /** * The name of the user losing mod status. */ get userName(): string; /** * The display name of the user losing mod status. */ get userDisplayName(): string; /** * Gets more information about the user. */ getUser(): Promise<HelixUser | null>; } //# sourceMappingURL=EventSubChannelUnmodModerationEvent.d.ts.map