Search Results for

    Show / Hide Table of Contents

    Class MessageRoleSubscriptionData

    Represents a role subscription data in IMessage.

    Inheritance
    Object
    MessageRoleSubscriptionData
    Namespace: Discord
    Assembly: Discord.Net.Core.dll
    Syntax
    public class MessageRoleSubscriptionData : object

    Properties

    | Improve this Doc View Source

    Id

    Gets the id of the sku and listing that the user is subscribed to.

    Declaration
    public ulong Id { get; }
    Property Value
    Type Description
    UInt64
    | Improve this Doc View Source

    IsRenewal

    Gets whether this notification is for a renewal rather than a new purchase.

    Declaration
    public bool IsRenewal { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    MonthsSubscribed

    Gets the cumulative number of months that the user has been subscribed for.

    Declaration
    public int MonthsSubscribed { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    TierName

    Gets the name of the tier that the user is subscribed to.

    Declaration
    public string TierName { get; }
    Property Value
    Type Description
    String

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2023 3.12.0