Skip to content

ChannelUpdateCategory

The category of a channel which was updated in the ChannelUpdate event.

Extends

  • Base<SubscriptionTypes.ChannelUpdate, K>

Type parameters

Type parameterValue
K extends ConnectionTypesConnectionTypes

Constructors

new ChannelUpdateCategory()

1
new ChannelUpdateCategory<K>(
2
connection: K,
3
subscription: SubscriptionType<ChannelUpdate, K>,
4
id: string,
5
name: string): ChannelUpdateCategory<K>

Builds up a ChannelUpdateCategory.

Parameters

ParameterTypeDescription
connectionKThe EventSub connection used.
subscriptionSubscriptionType<ChannelUpdate, K>The subscription which trigger this message.
idstringThe ID of the category.
namestringThe name of the category.

Returns

ChannelUpdateCategory<K>

Overrides

Base.constructor

Source

twitchfy/packages/eventsub/src/structures/messages/ChannelUpdate/ChannelUpdateCategory.ts:27

Properties

PropertyModifierTypeDescriptionInherited from
connectionreadonlyKThe EventSub connection used.Base.connection
idreadonlystringThe ID of the category.-
namereadonlystringThe name of the category.-
subscriptionreadonlySubscriptionType<ChannelUpdate, K>The subscription which trigger this message.Base.subscription