- Enclosing class:
- TdApi
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. Emoji
stickers can't be added to favorite stickers.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Sticker file to add. -
Constructor Summary
ConstructorDescriptionAdds 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) Adds a new sticker to the list of favorite stickers. -
Method Summary
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:
-
-
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. Emoji stickers can't be added to favorite stickers. ReturnsOk
-
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. Emoji stickers can't be added to favorite stickers. ReturnsOk
- Parameters:
sticker
- InputFile Sticker file to add.
-
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. Emoji stickers can't be added to favorite stickers. ReturnsOk
- 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()
-