setStickerMaskPosition

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.

Arguments
Name Type Description Required
sticker string | array File identifier of the sticker yes
mask_position maskPosition | null | stdClass A JSON-serialized object with the position where the mask should be placed on faces. Omit the parameter to remove the mask position. no
token string | null You can use this method on another bot with specify this parameter no
forgot bool | null You can set to not receive request result, dont set it or pass null for turn it off no
answer bool | null You can set to answer to webhook, dont set it or pass null for turn it off no

Output : bool | BPT\types\responseError

Static or normal : Static

Examples :

request::setStickerMaskPosition(sticker: string, mask_position: MaskPosition | null, token: String | null, forgot: Boolean | null, answer: Boolean | null);
request::setStickerMaskPosition(['sticker' => string, 'mask_position' => MaskPosition | null, 'token' => String | null, 'forgot' => Boolean | null, 'answer' => Boolean | null]);
request::setStickerMaskPosition(sticker: string);
request::setStickerMaskPosition(['sticker' => string]);