Class TdApi.SetStickerMaskPosition

Enclosing class:
TdApi

public static class TdApi.SetStickerMaskPosition extends TdApi.Function<TdApi.Ok>
Changes the mask position of a mask sticker. The sticker must belong to a mask sticker set that is owned by the current user.

Returns Ok

  • Field Details

    • sticker

      public TdApi.InputFile sticker
      Sticker.
    • maskPosition

      public TdApi.MaskPosition maskPosition
      Position where the mask is placed; pass null to remove mask position.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • SetStickerMaskPosition

      public SetStickerMaskPosition()
      Default constructor for a function, which changes the mask position of a mask sticker. The sticker must belong to a mask sticker set that is owned by the current user.

      Returns Ok

    • SetStickerMaskPosition

      public SetStickerMaskPosition(TdApi.InputFile sticker, TdApi.MaskPosition maskPosition)
      Creates a function, which changes the mask position of a mask sticker. The sticker must belong to a mask sticker set that is owned by the current user.

      Returns Ok

      Parameters:
      sticker - Sticker.
      maskPosition - Position where the mask is placed; pass null to remove mask position.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR