InputSticker
public struct InputSticker : Codable, Equatable, FunctionResult
Describes a sticker that should be added to a sticker set
-
PNG image with the sticker; must be up to 512 kB in size and fit in a 512x512 square
Declaration
Swift
public let pngSticker: InputFile
-
Emoji corresponding to the sticker
Declaration
Swift
public let emojis: String
-
For masks, position where the mask should be placed; may be null
Declaration
Swift
public let maskPosition: MaskPosition?
-
Describes a sticker that should be added to a sticker set
Declaration
Swift
public init(pngSticker: InputFile, emojis: String, maskPosition: MaskPosition?)
Parameters
pngSticker
PNG image with the sticker; must be up to 512 kB in size and fit in a 512x512 square
emojis
Emoji corresponding to the sticker
maskPosition
For masks, position where the mask should be placed; may be null