Class MessageRoleSubscriptionData
Represents a role subscription data in IMessage.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public class MessageRoleSubscriptionData : object
Properties
| Improve this Doc View SourceId
Gets the id of the sku and listing that the user is subscribed to.
Declaration
public ulong Id { get; }
Property Value
Type | Description |
---|---|
UInt64 |
IsRenewal
Gets whether this notification is for a renewal rather than a new purchase.
Declaration
public bool IsRenewal { get; }
Property Value
Type | Description |
---|---|
Boolean |
MonthsSubscribed
Gets the cumulative number of months that the user has been subscribed for.
Declaration
public int MonthsSubscribed { get; }
Property Value
Type | Description |
---|---|
Int32 |
TierName
Gets the name of the tier that the user is subscribed to.
Declaration
public string TierName { get; }
Property Value
Type | Description |
---|---|
String |