java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.DiceStickers
it.tdlight.jni.TdApi.DiceStickersSlotMachine
- Enclosing class:
- TdApi
Animated stickers to be combined into a slot machine.
-
Field Summary
Modifier and TypeFieldDescriptionThe animated sticker with the slot machine background.The animated sticker with the center reel.static final int
Identifier uniquely determining type of the object.The animated sticker with the left reel.The animated sticker with the lever animation.The animated sticker with the right reel. -
Constructor Summary
ConstructorDescriptionAnimated stickers to be combined into a slot machine.DiceStickersSlotMachine
(TdApi.Sticker background, TdApi.Sticker lever, TdApi.Sticker leftReel, TdApi.Sticker centerReel, TdApi.Sticker rightReel) Animated stickers to be combined into a slot machine.DiceStickersSlotMachine
(DataInput input) Animated stickers to be combined into a slot machine. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
background
The animated sticker with the slot machine background. The background animation must start playing after all reel animations finish. -
lever
The animated sticker with the lever animation. The lever animation must play once in the initial dice state. -
leftReel
The animated sticker with the left reel. -
centerReel
The animated sticker with the center reel. -
rightReel
The animated sticker with the right reel. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
DiceStickersSlotMachine
public DiceStickersSlotMachine()Animated stickers to be combined into a slot machine. -
DiceStickersSlotMachine
public DiceStickersSlotMachine(TdApi.Sticker background, TdApi.Sticker lever, TdApi.Sticker leftReel, TdApi.Sticker centerReel, TdApi.Sticker rightReel) Animated stickers to be combined into a slot machine.- Parameters:
background
- The animated sticker with the slot machine background. The background animation must start playing after all reel animations finish.lever
- The animated sticker with the lever animation. The lever animation must play once in the initial dice state.leftReel
- The animated sticker with the left reel.centerReel
- The animated sticker with the center reel.rightReel
- The animated sticker with the right reel.
-
DiceStickersSlotMachine
Animated stickers to be combined into a slot machine.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-