UNPKG

@twurple/eventsub-base

Version:

Base for the other Twurple EventSub packages

27 lines 1.13 kB
import { DataObject } from '@twurple/common'; import { type EventSubChannelHypeTrainSharedParticipantData } from './EventSubChannelHypeTrainSharedParticipant.external.js'; import { type ApiClient, type HelixUser } from '@twurple/api'; /** * The broadcaster participating in the shared Hype Train. */ export declare class EventSubChannelHypeTrainSharedParticipant extends DataObject<EventSubChannelHypeTrainSharedParticipantData> { private readonly _client; constructor(data: EventSubChannelHypeTrainSharedParticipantData, _client: ApiClient); /** * The ID of the broadcaster participating in the shared Hype Train. */ get broadcasterId(): string; /** * The name of the broadcaster participating in the shared Hype Train. */ get broadcasterName(): string; /** * The display name of the broadcaster participating in the shared Hype Train. */ get broadcasterDisplayName(): string; /** * Gets more information about the broadcaster. */ getBroadcaster(): Promise<HelixUser>; } //# sourceMappingURL=EventSubChannelHypeTrainSharedParticipant.d.ts.map