Table of Contents

Struct SKU

Namespace
Discord
Assembly
Discord.Net.Core.dll
public struct SKU : ISnowflakeEntity, IEntity<ulong>
Implements
Inherited Members

Properties

ApplicationId

Gets the ID of the parent application.

public readonly ulong ApplicationId { get; }

Property Value

ulong

CreatedAt

Gets when the snowflake was created.

public DateTimeOffset CreatedAt { get; }

Property Value

DateTimeOffset

A DateTimeOffset representing when the entity was first created.

Flags

Gets the flags for this SKU.

public readonly SKUFlags Flags { get; }

Property Value

SKUFlags

Id

Gets the unique identifier for this object.

public readonly ulong Id { get; }

Property Value

ulong

Name

Gets the customer-facing name of your premium offering.

public readonly string Name { get; }

Property Value

string

Slug

Gets the system-generated URL slug based on the SKU's name.

public readonly string Slug { get; }

Property Value

string

Type

Gets the type of the SKU.

public readonly SKUType Type { get; }

Property Value

SKUType