Table of Contents

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

jsonModel JsonRoleTags

Properties

BotId

The ID of the bot this Role belongs to.

public ulong? BotId { get; }

Property Value

ulong?

GuildConnections

Whether this Role is a guild's linked role.

public bool GuildConnections { get; }

Property Value

bool

IntegrationId

The ID of the integration this Role belongs to.

public ulong? IntegrationId { get; }

Property Value

ulong?

IsAvailableForPurchase

Whether this Role is available for purchase.

public bool IsAvailableForPurchase { get; }

Property Value

bool

IsPremiumSubscriber

Whether this is the guild's Booster role.

public bool IsPremiumSubscriber { get; }

Property Value

bool

SubscriptionListingId

The ID of this Role's subscription SKU and listing.

public ulong? SubscriptionListingId { get; }

Property Value

ulong?