Class RoleTags
- Namespace
- NetCord
- Assembly
- NetCord.dll
Represents the tags associated with a Role.
public class RoleTags : IJsonModel<JsonRoleTags>
- Inheritance
-
RoleTags
- Implements
- Inherited Members
Constructors
RoleTags(JsonRoleTags)
Represents the tags associated with a Role.
public RoleTags(JsonRoleTags jsonModel)
Parameters
jsonModelJsonRoleTags
Properties
BotId
The ID of the bot this Role belongs to.
public ulong? BotId { get; }
Property Value
GuildConnections
Whether this Role is a guild's linked role.
public bool GuildConnections { get; }
Property Value
IntegrationId
The ID of the integration this Role belongs to.
public ulong? IntegrationId { get; }
Property Value
IsAvailableForPurchase
Whether this Role is available for purchase.
public bool IsAvailableForPurchase { get; }
Property Value
IsPremiumSubscriber
Whether this is the guild's Booster role.
public bool IsPremiumSubscriber { get; }
Property Value
SubscriptionListingId
The ID of this Role's subscription SKU and listing.
public ulong? SubscriptionListingId { get; }