Skip to content

kient / DetailedEventSubscription

Class: DetailedEventSubscription ​

src/structures/detailed-event-subscription.ts:18

Data structure of a subscription event

Extends ​

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
_kientreadonlyKient-EventSubscription._kientsrc/structures/base.ts:4
appIdpublicstringThe subscriptions's associated application ID-src/structures/detailed-event-subscription.ts:22
createdAtpublicDateThe date the subscription was started-src/structures/detailed-event-subscription.ts:37
eventpublicstringThe subscriptions's event nameEventSubscription.eventsrc/structures/event-subscription.ts:19
idpublicstringThe subscriptions's IDEventSubscription.idsrc/structures/event-subscription.ts:14
methodpublicstringThe subscriptions's transit method-src/structures/detailed-event-subscription.ts:32
updatedAtpublicDateThe date the subscription was last updated-src/structures/detailed-event-subscription.ts:42
userIdpublicnumberThe subscriptions's associated user ID-src/structures/detailed-event-subscription.ts:27
versionpublicnumberThe subscriptions's event version numberEventSubscription.versionsrc/structures/event-subscription.ts:24

Methods ​

toJSON() ​

ts
toJSON(): ExcludeFunctionsAndPrivate<DetailedEventSubscription>

src/structures/detailed-event-subscription.ts:59

Returns ​

ExcludeFunctionsAndPrivate<DetailedEventSubscription>

Overrides ​

EventSubscription.toJSON


unsubscribe() ​

ts
unsubscribe(): void

src/structures/detailed-event-subscription.ts:55

Returns ​

void

Overrides ​

EventSubscription.unsubscribe