@twurple/eventsub-base
Version:
Base for the other Twurple EventSub packages
30 lines • 1.24 kB
TypeScript
import { type HelixUser } from '@twurple/api';
import { EventSubChannelChatBaseNotificationEvent } from './EventSubChannelChatBaseNotificationEvent.js';
/**
* An EventSub event representing a notification of a user upgrading their gifted sub to a paid one in another channel's
* chat during a shared chat session.
*/
export declare class EventSubChannelChatSharedChatGiftPaidUpgradeNotificationEvent extends EventSubChannelChatBaseNotificationEvent {
readonly type: "shared_chat_gift_paid_upgrade";
/**
* 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=EventSubChannelChatSharedChatGiftPaidUpgradeNotificationEvent.d.ts.map