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; for bots only. The sticker set must have been created by the bot.

Returns Ok

  • Field Details

    • sticker

      public TdApi.InputFile sticker
      Sticker.
    • position

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

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • SetStickerPositionInSet

      public SetStickerPositionInSet()
      Changes the position of a sticker in the set to which it belongs; for bots only. The sticker set must have been created by the bot.

      Returns Ok

    • SetStickerPositionInSet

      public SetStickerPositionInSet​(TdApi.InputFile sticker, int position)
      Changes the position of a sticker in the set to which it belongs; for bots only. The sticker set must have been created by the bot.

      Returns Ok

      Parameters:
      sticker - InputFile Sticker.
      position - int New position of the sticker in the set, zero-based.
    • SetStickerPositionInSet

      public SetStickerPositionInSet​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details