Package it.tdlight.jni
Class TdApi.SetStickerPositionInSet
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.SetStickerPositionInSet
- Enclosing class:
- TdApi
public static class TdApi.SetStickerPositionInSet extends TdApi.Function
Changes the position of a sticker in
the set to which it belongs; for bots
only. The sticker set must have been
created by the bot.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
position
New position of the sticker in the set, zero-based.TdApi.InputFile
sticker
Sticker. -
Constructor Summary
Constructors Constructor Description SetStickerPositionInSet()
Changes the position of a sticker in the set to which it belongs; for bots only.SetStickerPositionInSet(TdApi.InputFile sticker, int position)
Changes the position of a sticker in the set to which it belongs; for bots only.SetStickerPositionInSet(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. -
position
public int positionNew position of the sticker in the set, zero-based. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
SetStickerPositionInSet
public SetStickerPositionInSet()Changes the position of a sticker in the set to which it belongs; for bots only. The sticker set must have been created by the bot.Returns
Ok
-
SetStickerPositionInSet
Changes the position of a sticker in the set to which it belongs; for bots only. The sticker set must have been created by the bot.Returns
Ok
- Parameters:
sticker
- InputFile Sticker.position
- int New position of the sticker in the set, zero-based.
-
SetStickerPositionInSet
- 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()
-