Nostrum.Struct.Sticker.Pack (nostrum v0.11.0-dev)

View Source

Represents a platform-curated sticker pack on Discord

Summary

Types

Asset ID of the banner for this sticker pack.

ID of a sticker contained within the pack that should be the cover.

Marketing description of the sticker pack.

ID of the sticker pack.

Name of the pack.

SKU ID of the sticker pack.

A list of stickers contained within the pack.

t()

Functions

Return the banner pack URL for a given sticker pack.

Types

banner_asset_id()

(since 0.10.0)
@type banner_asset_id() :: Nostrum.Snowflake.t()

Asset ID of the banner for this sticker pack.

cover_sticker_id()

(since 0.10.0)
@type cover_sticker_id() :: Nostrum.Struct.Sticker.id()

ID of a sticker contained within the pack that should be the cover.

description()

(since 0.10.0)
@type description() :: String.t()

Marketing description of the sticker pack.

id()

(since 0.10.0)
@type id() :: Nostrum.Snowflake.t()

ID of the sticker pack.

name()

(since 0.10.0)
@type name() :: String.t()

Name of the pack.

sku_id()

(since 0.10.0)
@type sku_id() :: Nostrum.Snowflake.t()

SKU ID of the sticker pack.

stickers()

(since 0.10.0)
@type stickers() :: [Nostrum.Struct.Sticker.t()]

A list of stickers contained within the pack.

t()

(since 0.10.0)
@type t() :: %Nostrum.Struct.Sticker.Pack{
  banner_asset_id: banner_asset_id(),
  cover_sticker_id: cover_sticker_id(),
  description: description(),
  id: id(),
  name: name(),
  sku_id: sku_id(),
  stickers: stickers()
}

Functions