@twurple/eventsub-base
Version:
Base for the other Twurple EventSub packages
29 lines • 945 B
TypeScript
import type { HelixUser } from '@twurple/api';
import { EventSubChannelBaseModerationEvent } from './EventSubChannelBaseModerationEvent.js';
/**
* An EventSub event representing a moderator banning a user in another channel during a shared chat session.
*/
export declare class EventSubChannelSharedChatBanModerationEvent extends EventSubChannelBaseModerationEvent {
readonly moderationAction: "shared_chat_ban";
/**
* The ID of the user being banned.
*/
get userId(): string;
/**
* The name of the user being banned.
*/
get userName(): string;
/**
* The display name of the user being banned.
*/
get userDisplayName(): string;
/**
* Gets more information about the user.
*/
getUser(): Promise<HelixUser | null>;
/**
* The reason given for the ban.
*/
get reason(): string;
}
//# sourceMappingURL=EventSubChannelSharedChatBanModerationEvent.d.ts.map