Module tdlight.api

Class TdApi.SetStickerMaskPosition

Enclosing class:
TdApi

public static final class TdApi.SetStickerMaskPosition extends TdApi.Function<TdApi.Ok>
Changes the mask position of a mask sticker; for bots only. The sticker must belong to a mask sticker set created by the bot. Returns Ok
  • Field Details

  • Constructor Details

    • SetStickerMaskPosition

      public SetStickerMaskPosition()
      Changes the mask position of a mask sticker; for bots only. The sticker must belong to a mask sticker set created by the bot. Returns Ok
    • SetStickerMaskPosition

      public SetStickerMaskPosition(TdApi.InputFile sticker, TdApi.MaskPosition maskPosition)
      Changes the mask position of a mask sticker; for bots only. The sticker must belong to a mask sticker set created by the bot. Returns Ok
      Parameters:
      sticker - InputFile Sticker.
      maskPosition - MaskPosition Position where the mask is placed; pass null to remove mask position.
    • SetStickerMaskPosition

      public SetStickerMaskPosition(DataInput input) throws IOException
      Changes the mask position of a mask sticker; for bots only. The sticker must belong to a mask sticker set created by the bot. Returns Ok
      Throws:
      IOException
  • Method Details