UNPKG

@twurple/eventsub-base

Version:

Base for the other Twurple EventSub packages

20 lines 821 B
import { DataObject } from '@twurple/common'; import { type EventSubChannelAutomaticRewardData, type EventSubChannelAutomaticRewardEmoteData, type EventSubChannelAutomaticRewardType } from './EventSubChannelAutomaticReward.external.js'; /** * An object that contains the reward information. */ export declare class EventSubChannelAutomaticReward extends DataObject<EventSubChannelAutomaticRewardData> { /** * The type of reward. */ get type(): EventSubChannelAutomaticRewardType; /** * Number of channel points used. */ get channelPoints(): number; /** * Emote associated with the reward, or `null` if the reward is not related to emotes. */ get emote(): EventSubChannelAutomaticRewardEmoteData | null; } //# sourceMappingURL=EventSubChannelAutomaticReward.d.ts.map