Module tdlight.api

Class TdApi.AddStickerToSet

Enclosing class:
TdApi

public static class TdApi.AddStickerToSet extends TdApi.Function<TdApi.StickerSet>
Adds a new sticker to a set; for bots only. Returns the sticker set.

Returns StickerSet

  • Field Details

    • userId

      public long userId
      Sticker set owner.
    • name

      public String name
      Sticker set name.
    • sticker

      public TdApi.InputSticker sticker
      Sticker to add to the set.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • AddStickerToSet

      public AddStickerToSet()
      Adds a new sticker to a set; for bots only. Returns the sticker set.

      Returns StickerSet

    • AddStickerToSet

      public AddStickerToSet(long userId, String name, TdApi.InputSticker sticker)
      Adds a new sticker to a set; for bots only. Returns the sticker set.

      Returns StickerSet

      Parameters:
      userId - long Sticker set owner.
      name - String Sticker set name.
      sticker - InputSticker Sticker to add to the set.
    • AddStickerToSet

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