Class TdApi.SetStickerPositionInSet

  • Enclosing class:
    TdApi

    public static class TdApi.SetStickerPositionInSet
    extends TdApi.Function
    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 Detail

      • position

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

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SetStickerPositionInSet

        public SetStickerPositionInSet()
        Default constructor.
      • SetStickerPositionInSet

        public SetStickerPositionInSet​(TdApi.InputFile sticker,
                                       int position)
        Constructor for initialization of all fields.
        Parameters:
        sticker - Sticker.
        position - New position of the sticker in the set, zero-based.