Package it.tdlight.jni
Class TdApi.AddStickerToSet
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.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 int
CONSTRUCTOR
String
name
Sticker set name.TdApi.InputSticker
sticker
Sticker to add to the set.int
userId
Sticker set owner. -
Constructor Summary
Constructors Constructor Description AddStickerToSet()
Adds a new sticker to a set; for bots only.AddStickerToSet(int userId, String name, TdApi.InputSticker sticker)
Adds a new sticker to a set; for bots only.AddStickerToSet(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
userId
public int userIdSticker set owner. -
name
Sticker set name. -
sticker
Sticker to add to the set. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
AddStickerToSet
public AddStickerToSet()Adds a new sticker to a set; for bots only. Returns the sticker set.Returns
StickerSet
-
AddStickerToSet
Adds a new sticker to a set; for bots only. Returns the sticker set.Returns
StickerSet
- Parameters:
userId
- int Sticker set owner.name
- String Sticker set name.sticker
- InputSticker Sticker to add to the set.
-
AddStickerToSet
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-