twitcheasy-twitch-bottwitch-authtwitch-auth-tmitwitch-chat-clienttwitch-eventsubtwitch-pubsub-clienttwitch-webhooks

ChatSubExtendInfo

Information about a subsription extension.

{
The display name of the subscribing user.
displayName: string
The month when the subscription will now end.
endMonth: number
The number of total months of subscriptions for the channel.
months: number
The plan ID of the subscription.
plan: string
The user ID of the subscribing user.
userId: string
}

Properties

displayName

Type: string

The display name of the subscribing user.

endMonth

Type: number

The month when the subscription will now end.

1 corresponds to January, and 12 means December.

months

Type: number

The number of total months of subscriptions for the channel.

plan

Type: string

The plan ID of the subscription.

Tier 1, 2, 3 are '1000', '2000', '3000' respectively, and a Twitch Prime subscription is called 'Prime'.

userId

Type: string

The user ID of the subscribing user.