BaseUser
The base class representing an user structure.
Extends
Base
<T
,K
>
Type parameters
Type parameter | Value |
---|---|
T extends SubscriptionTypes | - |
K extends ConnectionTypes | ConnectionTypes |
Constructors
new BaseUser()
Builds up a BaseUser.
Parameters
Parameter | Type | Description |
---|---|---|
connection | K | The EventSub connection used. |
subscription | SubscriptionType <T , K > | The subscription which trigger this message. |
data | BaseUserData | The event data received with the subscription. |
Returns
BaseUser
<T
, K
>
Overrides
Source
twitchfy/packages/eventsub/src/structures/messages/BaseUser.ts:31
Properties
Property | Modifier | Type | Description | Inherited from |
---|---|---|---|---|
connection | readonly | K | The EventSub connection used. | Base .connection |
displayName | readonly | string | The display name of the user. | - |
id | readonly | string | The ID of the user. | - |
login | readonly | string | The login name of the user. | - |
subscription | readonly | SubscriptionType <T , K > | The subscription which trigger this message. | Base .subscription |