setStickerMaskPosition

inline fun setStickerMaskPosition(sticker: String, maskPosition: MaskPosition? = null): SetStickerMaskPositionAction

Use this method to change the mask position of a mask sticker. The sticker must belong to a sticker set that was created by the bot. Returns True on success.

Api reference

Parameters

sticker

File identifier of the sticker

maskPosition

A JSON-serialized object with the position where the mask should be placed on faces. Omit the parameter to remove the mask position.