Class TdApi.AddStickerToSet

Enclosing class:
TdApi

public static class TdApi.AddStickerToSet extends TdApi.Function<TdApi.Ok>
Adds a new sticker to a set.

Returns Ok

  • Field Details

    • userId

      public long userId
      Sticker set owner; ignored for regular users.
    • name

      public String name
      Sticker set name. The sticker set must be owned by the current user, and contain less than 200 stickers for custom emoji sticker sets and less than 120 otherwise.
    • sticker

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

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

    • AddStickerToSet

      public AddStickerToSet()
      Default constructor for a function, which adds a new sticker to a set.

      Returns Ok

    • AddStickerToSet

      public AddStickerToSet(long userId, String name, TdApi.InputSticker sticker)
      Creates a function, which adds a new sticker to a set.

      Returns Ok

      Parameters:
      userId - Sticker set owner; ignored for regular users.
      name - Sticker set name. The sticker set must be owned by the current user, and contain less than 200 stickers for custom emoji sticker sets and less than 120 otherwise.
      sticker - Sticker to add to the set.
  • 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