@twurple/eventsub-base
Version:
Base for the other Twurple EventSub packages
30 lines • 1.21 kB
TypeScript
import { type HelixUser } from '@twurple/api';
import { EventSubChannelChatBaseNotificationEvent } from './EventSubChannelChatBaseNotificationEvent.js';
/**
* An EventSub event representing a notification of a user "paying it forward" in another channel's chat during a shared
* chat session.
*/
export declare class EventSubChannelChatSharedChatPayItForwardNotificationEvent extends EventSubChannelChatBaseNotificationEvent {
readonly type: "shared_chat_pay_it_forward";
/**
* Whether the original gifter is anonymous.
*/
get isGifterAnonymous(): boolean;
/**
* The ID of the original gifter, or `null` if they're anonymous.
*/
get gifterId(): string | null;
/**
* The username of the original gifter, or `null` if they're anonymous.
*/
get gifterName(): string | null;
/**
* The display name of the original gifter, or `null` if they're anonymous.
*/
get gifterDisplayName(): string | null;
/**
* Gets more information about the original gifter, or `null` if they're anonymous.
*/
getGifter(): Promise<HelixUser | null>;
}
//# sourceMappingURL=EventSubChannelChatSharedChatPayItForwardNotificationEvent.d.ts.map