public static class TdApi.MessageAnimation extends TdApi.MessageContent
TdApi.MessageContent.Constructors
Modifier and Type | Field and Description |
---|---|
TdApi.Animation |
animation
The animation description.
|
TdApi.FormattedText |
caption
Animation caption.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isSecret
True, if the animation thumbnail must be blurred and the animation must be shown only while tapped.
|
Constructor and Description |
---|
MessageAnimation()
An animation message (GIF-style).
|
MessageAnimation(TdApi.Animation animation,
TdApi.FormattedText caption,
boolean isSecret)
An animation message (GIF-style).
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.Animation animation
public TdApi.FormattedText caption
public boolean isSecret
public static final int CONSTRUCTOR
public MessageAnimation()
public MessageAnimation(TdApi.Animation animation, TdApi.FormattedText caption, boolean isSecret)
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.public int getConstructor()
getConstructor
in class TdApi.MessageContent