@twurple/eventsub-base
Version:
Base for the other Twurple EventSub packages
33 lines • 1.06 kB
TypeScript
import type { HelixUser } from '@twurple/api';
import { EventSubChannelBaseModerationEvent } from './EventSubChannelBaseModerationEvent.js';
/**
* An EventSub event representing a moderator timing out a user in another channel during a shared chat session.
*/
export declare class EventSubChannelSharedChatTimeoutModerationEvent extends EventSubChannelBaseModerationEvent {
readonly moderationAction: "shared_chat_timeout";
/**
* The ID of the user being timed out.
*/
get userId(): string;
/**
* The name of the user being timed out.
*/
get userName(): string;
/**
* The display name of the user being timed out.
*/
get userDisplayName(): string;
/**
* Gets more information about the user.
*/
getUser(): Promise<HelixUser | null>;
/**
* The reason given for the timeout.
*/
get reason(): string;
/**
* The time at which the timeout ends.
*/
get expiryDate(): Date;
}
//# sourceMappingURL=EventSubChannelSharedChatTimeoutModerationEvent.d.ts.map