-
The identifier of the sticker set to which the sticker belongs; 0 if none
Declaration
Swift
public let setId: TDInt64 -
Sticker width; as defined by the sender
Declaration
Swift
public let width: Int32 -
Sticker height; as defined by the sender
Declaration
Swift
public let height: Int32 -
Emoji corresponding to the sticker
Declaration
Swift
public let emoji: String -
True, if the sticker is an animated sticker in TGS format
Declaration
Swift
public let isAnimated: Bool -
True, if the sticker is a mask
Declaration
Swift
public let isMask: Bool -
Position where the mask should be placed; may be null
Declaration
Swift
public let maskPosition: MaskPosition? -
Sticker thumbnail in WEBP or JPEG format; may be null
Declaration
Swift
public let thumbnail: PhotoSize? -
File containing the sticker
Declaration
Swift
public let sticker: File -
Describes a sticker
Declaration
Swift
public init(setId: TDInt64, width: Int32, height: Int32, emoji: String, isAnimated: Bool, isMask: Bool, maskPosition: MaskPosition?, thumbnail: PhotoSize?, sticker: File)Parameters
setIdThe identifier of the sticker set to which the sticker belongs; 0 if none
widthSticker width; as defined by the sender
heightSticker height; as defined by the sender
emojiEmoji corresponding to the sticker
isAnimatedTrue, if the sticker is an animated sticker in TGS format
isMaskTrue, if the sticker is a mask
maskPositionPosition where the mask should be placed; may be null
thumbnailSticker thumbnail in WEBP or JPEG format; may be null
stickerFile containing the sticker
View on GitHub
Install in Dash
Sticker Structure Reference