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