ChannelUpdateCategory
The category of a channel which was updated in the ChannelUpdate event.
Extends
Base<SubscriptionTypes.ChannelUpdate,K>
Type parameters
| Type parameter | Value |
|---|---|
K extends ConnectionTypes | ConnectionTypes |
Constructors
new ChannelUpdateCategory()
1new ChannelUpdateCategory<K>(2 connection: K,3 subscription: SubscriptionType<ChannelUpdate, K>,4 id: string,5name: string): ChannelUpdateCategory<K>Builds up a ChannelUpdateCategory.
Parameters
| Parameter | Type | Description |
|---|---|---|
connection | K | The EventSub connection used. |
subscription | SubscriptionType<ChannelUpdate, K> | The subscription which trigger this message. |
id | string | The ID of the category. |
name | string | The name of the category. |
Returns
Overrides
Source
twitchfy/packages/eventsub/src/structures/messages/ChannelUpdate/ChannelUpdateCategory.ts:27
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
connection | readonly | K | The EventSub connection used. | Base.connection |
id | readonly | string | The ID of the category. | - |
name | readonly | string | The name of the category. | - |
subscription | readonly | SubscriptionType<ChannelUpdate, K> | The subscription which trigger this message. | Base.subscription |