Skip to main content

Type alias: StickerMetadata

api/model/media.StickerMetadata

Ƭ StickerMetadata: Object

Type declaration

NameTypeDescription
authorstringThe author of the sticker Default ``
circle?booleanApplies a circular mask to the sticker. Works on images only for now.
cornerRadius?numberThe corner radius of the sticker when stickerMetadata.circle is set to true. Default 100 Minimum 1 Maximum 100 Multiple Of 1
cropPosition?"top" | "right top" | "right" | "right bottom" | "bottom" | "left bottom" | "left" | "left top" | "north" | "northeast" | "east" | "southeast" | "south" | "southwest" | "west" | "northwest" | "center" | "centre" | "entropy" | "attention"Crop position Learn more: https://sharp.pixelplumbing.com/api-resize Default attention
discord?stringYour Discord ID to get onto the sticker leaderboard!
keepScale?booleanSetting this to true will skip the resizing/square-cropping of the sticker. It will instead 'letterbox' the image with a transparent background.
packstringThe pack of the sticker Default ``
removebg?boolean | "HQ"ALPHA FEATURE - NO GUARANTEES IT WILL WORK AS EXPECTED: REQUIRES AN INSIDERS LICENSE-KEY Attempt to remove the background of the sticker. Only valid for paid licenses. options: true - remove background after resizing HQ - remove background before resizing (i.e on original photo) Default false