UNPKG

@twurple/eventsub-base

Version:

Base for the other Twurple EventSub packages

41 lines 1.3 kB
import type { HelixUser } from '@twurple/api'; import { DataObject } from '@twurple/common'; import { type EventSubChannelWarningAcknowledgeEventData } from './EventSubChannelWarningAcknowledgeEvent.external.js'; /** * An EventSub event representing a user has acknowledged their warning. */ export declare class EventSubChannelWarningAcknowledgeEvent extends DataObject<EventSubChannelWarningAcknowledgeEventData> { /** * The ID of the broadcaster. */ get broadcasterId(): string; /** * The name of the broadcaster. */ get broadcasterName(): string; /** * The display name of the broadcaster. */ get broadcasterDisplayName(): string; /** * Gets more information about the broadcaster. */ getBroadcaster(): Promise<HelixUser>; /** * The ID of the user that has acknowledged their warning. */ get userId(): string; /** * The name of the user that has acknowledged their warning. */ get userName(): string; /** * The display name of the user that has acknowledged their warning. */ get userDisplayName(): string; /** * Gets more information about the user. */ getUser(): Promise<HelixUser>; } //# sourceMappingURL=EventSubChannelWarningAcknowledgeEvent.d.ts.map