SubscriptionState

@Serializable(with = SubscriptionStateSerializer::class)
sealed class SubscriptionState : UnknownStringEncodable

State of the user's subscription.

Since

200.0.0

Inheritors

Types

Link copied to clipboard

Subscription is active and allows all functionality.

Link copied to clipboard

Subscription was canceled.

Link copied to clipboard

Subscription was deleted.

Link copied to clipboard

Subscription has expired.

Link copied to clipboard

Subscription has run out of credits.

Link copied to clipboard

Subscription was suspended.

Link copied to clipboard
class Unknown(val unknownState: String) : SubscriptionState

Subscription state is unknown.

Properties

Link copied to clipboard
open override val encoding: String