Package org.drinkless.tdlib
Class TdApi.AddStickerToSet
- Enclosing class:
- TdApi
Adds a new sticker to a set.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Sticker set name.Sticker to add to the set.longSticker set owner; ignored for regular users. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which adds a new sticker to a set.AddStickerToSet(long userId, String name, TdApi.InputSticker sticker) Creates a function, which adds a new sticker to a set. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
userId
public long userIdSticker 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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
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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-