@twurple/eventsub-base
Version:
Base for the other Twurple EventSub packages
50 lines • 1.9 kB
TypeScript
import { DataObject } from '@twurple/common';
import type { HelixUser } from '@twurple/api';
import { EventSubChannelSharedChatSessionParticipant } from './common/EventSubChannelSharedChatSessionParticipant.js';
import { type EventSubChannelSharedChatSessionUpdateEventData } from './EventSubChannelSharedChatSessionUpdateEvent.external.js';
/**
* An EventSub event representing an update to a shared chat session in a channel.
*/
export declare class EventSubChannelSharedChatSessionUpdateEvent extends DataObject<EventSubChannelSharedChatSessionUpdateEventData> {
/**
* The unique identifier for the shared chat session.
*/
get sessionId(): string;
/**
* The ID of the broadcaster in the subscription condition which is now active in the shared chat session.
*/
get broadcasterId(): string;
/**
* The name of the broadcaster in the subscription condition which is now active in the shared chat session.
*/
get broadcasterName(): string;
/**
* The display name of the broadcaster in the subscription condition which is now active in the shared chat session.
*/
get broadcasterDisplayName(): string;
/**
* Gets information about the broadcaster.
*/
getBroadcaster(): Promise<HelixUser>;
/**
* The ID of the host broadcaster.
*/
get hostBroadcasterId(): string;
/**
* The name of the host broadcaster.
*/
get hostBroadcasterName(): string;
/**
* The display name of the host broadcaster.
*/
get hostBroadcasterDisplayName(): string;
/**
* Gets information about the broadcaster.
*/
getHostBroadcaster(): Promise<HelixUser>;
/**
* The list of participants in the session.
*/
get participants(): EventSubChannelSharedChatSessionParticipant[];
}
//# sourceMappingURL=EventSubChannelSharedChatSessionUpdateEvent.d.ts.map