-
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
setId
The identifier of the sticker set to which the sticker belongs; 0 if none
width
Sticker width; as defined by the sender
height
Sticker height; as defined by the sender
emoji
Emoji corresponding to the sticker
isAnimated
True, if the sticker is an animated sticker in TGS format
isMask
True, if the sticker is a mask
maskPosition
Position where the mask should be placed; may be null
thumbnail
Sticker thumbnail in WEBP or JPEG format; may be null
sticker
File containing the sticker