kient / LivestreamStatus
Class: LivestreamStatus
src/structures/livestream-status.ts:15
Extends
Properties
Property | Modifier | Type | Description | Inherited from | Defined in |
---|---|---|---|---|---|
_kient | readonly | Kient | - | EventBase ._kient | src/structures/base.ts:4 |
broadcaster | public | ChatUser | The broadcaster's details | - | src/structures/livestream-status.ts:19 |
endedDate? | public | Date | The date the livestream had ended | - | src/structures/livestream-status.ts:39 |
isLive | public | boolean | The live state of the broadcaster | - | src/structures/livestream-status.ts:24 |
kickEvent | public | object | The information relating the received event | EventBase .kickEvent | src/structures/base-event.ts:17 |
kickEvent.messageId | public | string | The event's message id | - | src/structures/base-event.ts:21 |
kickEvent.subscriptionId | public | string | The subscription ID associated with the event | - | src/structures/base-event.ts:26 |
kickEvent.timestamp | public | Date | The event's timestamp | - | src/structures/base-event.ts:31 |
startedAt | public | Date | The date the livestream had stated | - | src/structures/livestream-status.ts:34 |
title | public | string | The title of the livestream | - | src/structures/livestream-status.ts:29 |
Methods
toJSON()
ts
toJSON(): ExcludeFunctionsAndPrivate<LivestreamStatus>
src/structures/livestream-status.ts:56
Returns
ExcludeFunctionsAndPrivate
<LivestreamStatus
>
unsubscribe()
ts
unsubscribe(): void
src/structures/base-event.ts:48
The unsubscribes the client from this subscription type using the associated subscription ID in the event
Returns
void