StickerSet

public struct StickerSet : Codable, Equatable, FunctionResult

Represents a sticker set

  • id

    Identifier of the sticker set

    Declaration

    Swift

    public let id: TDInt64
  • Title of the sticker set

    Declaration

    Swift

    public let title: String
  • Name of the sticker set

    Declaration

    Swift

    public let name: String
  • Sticker set thumbnail in WEBP format with width and height 100; may be null. The file can be downloaded only before the thumbnail is changed

    Declaration

    Swift

    public let thumbnail: PhotoSize?
  • True, if the sticker set has been installed by the current user

    Declaration

    Swift

    public let isInstalled: Bool
  • True, if the sticker set has been archived. A sticker set can’t be installed and archived simultaneously

    Declaration

    Swift

    public let isArchived: Bool
  • True, if the sticker set is official

    Declaration

    Swift

    public let isOfficial: Bool
  • True, is the stickers in the set are animated

    Declaration

    Swift

    public let isAnimated: Bool
  • True, if the stickers in the set are masks

    Declaration

    Swift

    public let isMasks: Bool
  • True for already viewed trending sticker sets

    Declaration

    Swift

    public let isViewed: Bool
  • List of stickers in this set

    Declaration

    Swift

    public let stickers: [Sticker]
  • A list of emoji corresponding to the stickers in the same order. The list is only for informational purposes, because a sticker is always sent with a fixed emoji from the corresponding Sticker object

    Declaration

    Swift

    public let emojis: [Emojis]
  • Represents a sticker set

    Declaration

    Swift

    public init(id: TDInt64, title: String, name: String, thumbnail: PhotoSize?, isInstalled: Bool, isArchived: Bool, isOfficial: Bool, isAnimated: Bool, isMasks: Bool, isViewed: Bool, stickers: [Sticker], emojis: [Emojis])

    Parameters

    id

    Identifier of the sticker set

    title

    Title of the sticker set

    name

    Name of the sticker set

    thumbnail

    Sticker set thumbnail in WEBP format with width and height 100; may be null. The file can be downloaded only before the thumbnail is changed

    isInstalled

    True, if the sticker set has been installed by the current user

    isArchived

    True, if the sticker set has been archived. A sticker set can’t be installed and archived simultaneously

    isOfficial

    True, if the sticker set is official

    isAnimated

    True, is the stickers in the set are animated

    isMasks

    True, if the stickers in the set are masks

    isViewed

    True for already viewed trending sticker sets

    stickers

    List of stickers in this set

    emojis

    A list of emoji corresponding to the stickers in the same order. The list is only for informational purposes, because a sticker is always sent with a fixed emoji from the corresponding Sticker object