method ApiMethods.setStickerMaskPosition
ApiMethods.setStickerMaskPosition(args: { sticker: string; mask_position?: MaskPosition; }): true

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.

Parameters

args: { sticker: string; mask_position?: MaskPosition; }

Return Type

true

Usage

import { type ApiMethods } from "types";