View Source Nostrum.Struct.Sticker.Pack (Nostrum v0.10.0)

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

Link to this type

banner_asset_id()

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

Asset ID of the banner for this sticker pack.

Link to this type

cover_sticker_id()

View Source (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.

Link to this type

description()

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

Marketing description of the sticker pack.

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

ID of the sticker pack.

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

Name of the pack.

Link to this type

sku_id()

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

SKU ID of the sticker pack.

Link to this type

stickers()

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

A list of stickers contained within the pack.

@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