@twurple/eventsub-base
Version:
Base for the other Twurple EventSub packages
25 lines • 820 B
TypeScript
import { EventSubChannelBaseModerationEvent } from './EventSubChannelBaseModerationEvent';
import type { HelixUser } from '@twurple/api';
/**
* An EventSub event representing a user having gained VIP status on a channel.
*/
export declare class EventSubChannelVipModerationEvent extends EventSubChannelBaseModerationEvent {
readonly moderationAction = "vip";
/**
* The ID of the user gaining VIP status.
*/
get userId(): string;
/**
* The name of the user gaining VIP status.
*/
get userName(): string;
/**
* The display name of the user gaining VIP status.
*/
get userDisplayName(): string;
/**
* Gets more information about the user.
*/
getUser(): Promise<HelixUser | null>;
}
//# sourceMappingURL=EventSubChannelVipModerationEvent.d.ts.map