StickerSetInfo
public struct StickerSetInfo : Codable, Equatable, FunctionResult
Represents short information about a sticker set
-
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] -
init(id:title:name:thumbnail:isInstalled:isArchived:isOfficial:isAnimated:isMasks:isViewed:size:covers:)Represents short information about a sticker set
Declaration
Parameters
idIdentifier of the sticker set
titleTitle of the sticker set
nameName of the sticker set
thumbnailSticker set thumbnail in WEBP format with width and height 100; may be null
isInstalledTrue, if the sticker set has been installed by current user
isArchivedTrue, if the sticker set has been archived. A sticker set can’t be installed and archived simultaneously
isOfficialTrue, if the sticker set is official
isAnimatedTrue, is the stickers in the set are animated
isMasksTrue, if the stickers in the set are masks
isViewedTrue for already viewed trending sticker sets
sizeTotal number of stickers in the set
coversContains 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
View on GitHub
Install in Dash
StickerSetInfo Structure Reference