StickerSetInfo

public struct StickerSetInfo : Codable, Equatable, FunctionResult

Represents short information about 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

    Declaration

    Swift

    public let thumbnail: PhotoSize?
  • True, if the sticker set has been installed by 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
  • Total number of stickers in the set

    Declaration

    Swift

    public let size: Int32
  • Contains up to the first 5 stickers from the set, depending on the context. If the client needs more stickers the full set should be requested

    Declaration

    Swift

    public let covers: [Sticker]
  • Represents short information about 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, size: Int32, covers: [Sticker])

    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

    isInstalled

    True, if the sticker set has been installed by 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

    size

    Total number of stickers in the set

    covers

    Contains up to the first 5 stickers from the set, depending on the context. If the client needs more stickers the full set should be requested