Package it.tdlight.jni
Class TdApi.AddFavoriteSticker
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.AddFavoriteSticker
- Enclosing class:
- TdApi
public static class TdApi.AddFavoriteSticker extends TdApi.Function
Adds a new sticker to the list of
favorite stickers. The new sticker is
added to the top of the list. If the
sticker was already in the list, it
is removed from the list first. Only
stickers belonging to a sticker set
can be added to this list.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.InputFile
sticker
Sticker file to add. -
Constructor Summary
Constructors Constructor Description AddFavoriteSticker()
Adds a new sticker to the list of favorite stickers.AddFavoriteSticker(TdApi.InputFile sticker)
Adds a new sticker to the list of favorite stickers.AddFavoriteSticker(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
sticker
Sticker file to add. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
AddFavoriteSticker
public AddFavoriteSticker()Adds a new sticker to the list of favorite stickers. The new sticker is added to the top of the list. If the sticker was already in the list, it is removed from the list first. Only stickers belonging to a sticker set can be added to this list.Returns
Ok
-
AddFavoriteSticker
Adds a new sticker to the list of favorite stickers. The new sticker is added to the top of the list. If the sticker was already in the list, it is removed from the list first. Only stickers belonging to a sticker set can be added to this list.Returns
Ok
- Parameters:
sticker
- InputFile Sticker file to add.
-
AddFavoriteSticker
- 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()
-