Package org.drinkless.tdlib
Class TdApi.MessageAnimation
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.MessageContent
-
- org.drinkless.tdlib.TdApi.MessageAnimation
-
- Enclosing class:
- TdApi
public static class TdApi.MessageAnimation extends TdApi.MessageContent
An animation message (GIF-style).
-
-
Field Summary
Fields Modifier and Type Field Description TdApi.AnimationanimationThe animation description.TdApi.FormattedTextcaptionAnimation caption.static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanisSecretTrue, if the animation thumbnail must be blurred and the animation must be shown only while tapped.
-
Constructor Summary
Constructors Constructor Description MessageAnimation()An animation message (GIF-style).MessageAnimation(TdApi.Animation animation, TdApi.FormattedText caption, boolean isSecret)An animation message (GIF-style).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
animation
public TdApi.Animation animation
The animation description.
-
caption
public TdApi.FormattedText caption
Animation caption.
-
isSecret
public boolean isSecret
True, if the animation thumbnail must be blurred and the animation must be shown only while tapped.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MessageAnimation
public MessageAnimation()
An animation message (GIF-style).
-
MessageAnimation
public MessageAnimation(TdApi.Animation animation, TdApi.FormattedText caption, boolean isSecret)
An animation message (GIF-style).- Parameters:
animation- The animation description.caption- Animation caption.isSecret- True, if the animation thumbnail must be blurred and the animation must be shown only while tapped.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-