RoleSubscriptionData class
Information about a role subscription.
External references:
- Discord API Reference: https://discord.com/developers/docs/resources/channel#role-subscription-data-object
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRenewal → bool
-
Whether this notification is for a renewal rather than a new purchase.
final
- listingId → Snowflake
-
The ID of the sku and listing that the user is subscribed to.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tierName → String
-
The name of the tier that the user is subscribed to.
final
- totalMonthsSubscribed → int
-
The cumulative number of months that the user has been subscribed for.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited