@twurple/eventsub-base
Version:
Base for the other Twurple EventSub packages
21 lines • 829 B
TypeScript
import { EventSubChannelChatBaseNotificationEvent } from './EventSubChannelChatBaseNotificationEvent';
import { type EventSubChannelChatNotificationSubTier } from './EventSubChannelChatNotificationEvent.external';
/**
* An EventSub event representing a sub notification in a channel's chat.
*/
export declare class EventSubChannelChatSubNotificationEvent extends EventSubChannelChatBaseNotificationEvent {
readonly type = "sub";
/**
* The tier of the subscription.
*/
get tier(): EventSubChannelChatNotificationSubTier;
/**
* Whether the subscription was "paid" for using Prime Gaming.
*/
get isPrime(): boolean;
/**
* The number of months the subscription is for.
*/
get durationMonths(): number;
}
//# sourceMappingURL=EventSubChannelChatSubNotificationEvent.d.ts.map