Skip to content

kient / LivestreamStatus

Class: LivestreamStatus

src/structures/livestream-status.ts:15

Extends

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
_kientreadonlyKient-EventBase._kientsrc/structures/base.ts:4
broadcasterpublicChatUserThe broadcaster's details-src/structures/livestream-status.ts:19
endedDate?publicDateThe date the livestream had ended-src/structures/livestream-status.ts:39
isLivepublicbooleanThe live state of the broadcaster-src/structures/livestream-status.ts:24
kickEventpublicobjectThe information relating the received eventEventBase.kickEventsrc/structures/base-event.ts:17
kickEvent.messageIdpublicstringThe event's message id-src/structures/base-event.ts:21
kickEvent.subscriptionIdpublicstringThe subscription ID associated with the event-src/structures/base-event.ts:26
kickEvent.timestamppublicDateThe event's timestamp-src/structures/base-event.ts:31
startedAtpublicDateThe date the livestream had stated-src/structures/livestream-status.ts:34
titlepublicstringThe 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

Inherited from

EventBase.unsubscribe