@twurple/eventsub-base
Version:
Base for the other Twurple EventSub packages
29 lines • 1.17 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 a channel's chat.
*/
export declare class EventSubChannelChatGiftPaidUpgradeNotificationEvent extends EventSubChannelChatBaseNotificationEvent {
readonly type: "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=EventSubChannelChatGiftPaidUpgradeNotificationEvent.d.ts.map