A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Aliased type: EventSubChannelChatSubNotificationEvent | EventSubChannelChatResubNotificationEvent | EventSubChannelChatSubGiftNotificationEvent | EventSubChannelChatCommunitySubGiftNotificationEvent | EventSubChannelChatGiftPaidUpgradeNotificationEvent | EventSubChannelChatPrimePaidUpgradeNotificationEvent | EventSubChannelChatRaidNotificationEvent | EventSubChannelChatUnraidNotificationEvent | EventSubChannelChatPayItForwardNotificationEvent | EventSubChannelChatAnnouncementNotificationEvent | EventSubChannelChatCharityDonationNotificationEvent | EventSubChannelChatBitsBadgeTierNotificationEvent
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Properties
onChannelAdBreakBegin
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelAdBreakBeginEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent an ad break beginning in a channel.
onChannelBan
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelBanEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a user getting banned from a channel.
onChannelCharityCampaignProgress
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelCharityCampaignProgressEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent progress in a charity campaign in a channel.
onChannelCharityCampaignStart
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelCharityCampaignStartEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a charity campaign starting in a channel.
onChannelCharityCampaignStop
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelCharityCampaignStopEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a charity campaign ending in a channel.
onChannelCharityDonation
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelCharityDonationEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a donation to a charity campaign in a channel.
onChannelChatClear
Type: (broadcaster: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelChatClearEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a channel's chat being cleared.
onChannelChatClearUserMessages
Type: (broadcaster: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelChatClearUserMessagesEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a user's chat messages being cleared in a channel.
onChannelChatMessage
Type: (broadcaster: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelChatMessageEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a chat message being sent to a channel.
onChannelChatMessageDelete
Type: (broadcaster: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelChatMessageDeleteEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a chat message being deleted in a channel.
onChannelChatNotification
Type: (broadcaster: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelChatNotificationEventAliased type: EventSubChannelChatSubNotificationEvent | EventSubChannelChatResubNotificationEvent | EventSubChannelChatSubGiftNotificationEvent | EventSubChannelChatCommunitySubGiftNotificationEvent | EventSubChannelChatGiftPaidUpgradeNotificationEvent | EventSubChannelChatPrimePaidUpgradeNotificationEvent | EventSubChannelChatRaidNotificationEvent | EventSubChannelChatUnraidNotificationEvent | EventSubChannelChatPayItForwardNotificationEvent | EventSubChannelChatAnnouncementNotificationEvent | EventSubChannelChatCharityDonationNotificationEvent | EventSubChannelChatBitsBadgeTierNotificationEvent
) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Aliased type: EventSubChannelChatSubNotificationEvent | EventSubChannelChatResubNotificationEvent | EventSubChannelChatSubGiftNotificationEvent | EventSubChannelChatCommunitySubGiftNotificationEvent | EventSubChannelChatGiftPaidUpgradeNotificationEvent | EventSubChannelChatPrimePaidUpgradeNotificationEvent | EventSubChannelChatRaidNotificationEvent | EventSubChannelChatUnraidNotificationEvent | EventSubChannelChatPayItForwardNotificationEvent | EventSubChannelChatAnnouncementNotificationEvent | EventSubChannelChatCharityDonationNotificationEvent | EventSubChannelChatBitsBadgeTierNotificationEvent
Subscribes to events that represent a chat notification being sent to a channel.
onChannelChatSettingsUpdate
Type: (broadcaster: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelChatSettingsUpdateEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent chat settings being updated in a channel.
onChannelCheer
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelCheerEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a user cheering some bits.
onChannelFollow
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, moderator: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelFollowEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a user following a channel.
onChannelGoalBegin
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelGoalBeginEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a Goal beginning.
onChannelGoalEnd
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelGoalEndEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent the end of a Goal in a channel.
onChannelGoalProgress
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelGoalProgressEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent progress in a Goal in a channel.
onChannelHypeTrainBegin
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelHypeTrainBeginEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a Hype Train beginning.
onChannelHypeTrainEnd
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelHypeTrainEndEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent the end of a Hype Train in a channel.
onChannelHypeTrainProgress
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelHypeTrainProgressEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent progress in a Hype Train in a channel.
onChannelModeratorAdd
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelModeratorEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a user getting moderator permissions in a channel.
onChannelModeratorRemove
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelModeratorEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a user losing moderator permissions in a channel.
onChannelPollBegin
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelPollBeginEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a poll starting in a channel.
onChannelPollEnd
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelPollEndEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a poll ending in a channel.
onChannelPollProgress
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelPollProgressEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a poll being voted on in a channel.
onChannelPredictionBegin
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelPredictionBeginEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a prediction starting in a channel.
onChannelPredictionEnd
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelPredictionEndEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a prediction ending in a channel.
onChannelPredictionLock
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelPredictionLockEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a prediction being locked in a channel.
onChannelPredictionProgress
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelPredictionProgressEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a prediction being voted on in a channel.
onChannelRaidFrom
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelRaidEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a broadcaster raiding another broadcaster.
onChannelRaidTo
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelRaidEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a broadcaster being raided by another broadcaster.
onChannelRedemptionAdd
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelRedemptionAddEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represents a Channel Points reward being redeemed.
onChannelRedemptionAddForReward
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, rewardId: string, handler: (data: EventSubChannelRedemptionAddEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a specific Channel Points reward being redeemed.
onChannelRedemptionUpdate
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelRedemptionUpdateEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a Channel Points reward being updated by a broadcaster.
onChannelRedemptionUpdateForReward
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, rewardId: string, handler: (data: EventSubChannelRedemptionUpdateEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a specific Channel Points reward being updated by a broadcaster.
onChannelRewardAdd
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelRewardEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a Channel Points reward being added to a channel.
onChannelRewardRemove
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelRewardEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a Channel Points reward being removed.
onChannelRewardRemoveForReward
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, rewardId: string, handler: (data: EventSubChannelRewardEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a specific Channel Points reward being removed.
onChannelRewardUpdate
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelRewardEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a Channel Points reward being updated.
onChannelRewardUpdateForReward
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, rewardId: string, handler: (data: EventSubChannelRewardEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a specific Channel Points reward being updated.
onChannelShieldModeBegin
Type: (broadcaster: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, moderator: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelShieldModeBeginEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent Shield Mode being activated in a channel.
onChannelShieldModeEnd
Type: (broadcaster: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, moderator: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelShieldModeEndEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent Shield Mode being deactivated in a channel.
onChannelShoutoutCreate
Type: (broadcaster: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, moderator: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelShoutoutCreateEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a broadcaster shouting out another broadcaster.
onChannelShoutoutReceive
Type: (broadcaster: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, moderator: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubChannelShoutoutReceiveEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a broadcaster being shouted out by another broadcaster.
onChannelSubscription
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelSubscriptionEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a user subscribing to a channel.
onChannelSubscriptionEnd
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelSubscriptionEndEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a user's subscription to a channel ending.
onChannelSubscriptionGift
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelSubscriptionGiftEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a user gifting a subscription to a channel to someone else.
onChannelSubscriptionMessage
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelSubscriptionMessageEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a user's subscription to a channel being announced.
onChannelUnban
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelUnbanEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a user getting unbanned from a channel.
onChannelUpdate
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubChannelUpdateEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events representing a change in channel metadata, e.g. stream title or category.
onDropEntitlementGrant
Type: (filter: HelixEventSubDropEntitlementGrantFilter, handler: (event: EventSubDropEntitlementGrantEvent) => void) => EventSubSubscription
Subscribes to events that represent a drop entitlement being granted.
onExtensionBitsTransactionCreate
Type: (handler: (event: EventSubExtensionBitsTransactionCreateEvent) => void) => EventSubSubscription
Subscribes to events that represent a Bits transaction in an extension.
onStreamOffline
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubStreamOfflineEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events representing a stream going offline.
onStreamOnline
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (event: EventSubStreamOnlineEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events representing a stream going live.
onUserAuthorizationGrant
Type: (handler: (data: EventSubUserAuthorizationGrantEvent) => void) => EventSubSubscription
Subscribes to events that represent a user granting authorization to an application.
onUserAuthorizationRevoke
Type: (handler: (data: EventSubUserAuthorizationRevokeEvent) => void) => EventSubSubscription
Subscribes to events that represent a user revoking authorization from an application.
onUserUpdate
Type: (user: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
, handler: (data: EventSubUserUpdateEvent) => void) => EventSubSubscription
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Subscribes to events that represent a user updating their account details.