Module tdlight.api

Class TdApi.AddStickerToSet

Enclosing class:
TdApi

public static final class TdApi.AddStickerToSet extends TdApi.Function<TdApi.Ok>
Adds a new sticker to a set; for bots only. Returns Ok
  • 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 Ok
    • AddStickerToSet

      public AddStickerToSet(long userId, String name, TdApi.InputSticker sticker)
      Adds a new sticker to a set; for bots only. Returns Ok
      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
      Adds a new sticker to a set; for bots only. Returns Ok
      Throws:
      IOException
  • Method Details