Class TdApi.SetStickerPositionInSet

Enclosing class:
TdApi

public static class TdApi.SetStickerPositionInSet extends TdApi.Function<TdApi.Ok>
Changes the position of a sticker in the set to which it belongs. The sticker set must be owned by the current user.

Returns Ok

  • Field Details

    • sticker

      public TdApi.InputFile sticker
      Sticker.
    • position

      public int position
      New position of the sticker in the set, 0-based.
    • CONSTRUCTOR

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

    • SetStickerPositionInSet

      public SetStickerPositionInSet()
      Default constructor for a function, which changes the position of a sticker in the set to which it belongs. The sticker set must be owned by the current user.

      Returns Ok

    • SetStickerPositionInSet

      public SetStickerPositionInSet(TdApi.InputFile sticker, int position)
      Creates a function, which changes the position of a sticker in the set to which it belongs. The sticker set must be owned by the current user.

      Returns Ok

      Parameters:
      sticker - Sticker.
      position - New position of the sticker in the set, 0-based.
  • 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