Package org.drinkless.tdlib
Class TdApi.AddStickerToSet
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.AddStickerToSet
-
- Enclosing class:
- TdApi
public static class TdApi.AddStickerToSet extends TdApi.Function
Adds a new sticker to a set; for bots only. Returns the sticker set.Returns
StickerSet
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringnameSticker set name.TdApi.InputStickerstickerSticker to add to the set.longuserIdSticker set owner.
-
Constructor Summary
Constructors Constructor Description AddStickerToSet()Default constructor for a function, which adds a new sticker to a set; for bots only.AddStickerToSet(long userId, String name, TdApi.InputSticker sticker)Creates a function, which adds a new sticker to a set; for bots only.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
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
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AddStickerToSet
public AddStickerToSet()
Default constructor for a function, which 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)Creates a function, which adds a new sticker to a set; for bots only. Returns the sticker set.Returns
StickerSet- Parameters:
userId- Sticker set owner.name- Sticker set name.sticker- Sticker to add to the set.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-