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
pngStickerPNG image with the sticker; must be up to 512 kB in size and fit in a 512x512 square
emojisEmoji corresponding to the sticker
maskPositionFor masks, position where the mask should be placed; may be null
View on GitHub
Install in Dash
InputSticker Structure Reference