public static class TdApi.MessageAnimation extends TdApi.MessageContent
| 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 |
hasSpoiler
True, if the animation preview must be covered by a spoiler animation.
|
boolean |
isSecret
True, if the animation thumbnail must be blurred and the animation must be shown only while tapped.
|
boolean |
showCaptionAboveMedia
True, if the caption must be shown above the animation; otherwise, the caption must be shown below the animation.
|
| Constructor and Description |
|---|
MessageAnimation()
An animation message (GIF-style).
|
MessageAnimation(TdApi.Animation animation,
TdApi.FormattedText caption,
boolean showCaptionAboveMedia,
boolean hasSpoiler,
boolean isSecret)
An animation message (GIF-style).
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.Animation animation
public TdApi.FormattedText caption
public boolean showCaptionAboveMedia
public boolean hasSpoiler
public boolean isSecret
public static final int CONSTRUCTOR
public MessageAnimation()
public MessageAnimation(TdApi.Animation animation, TdApi.FormattedText caption, boolean showCaptionAboveMedia, boolean hasSpoiler, boolean isSecret)
animation - The animation description.caption - Animation caption.showCaptionAboveMedia - True, if the caption must be shown above the animation; otherwise, the caption must be shown below the animation.hasSpoiler - True, if the animation preview must be covered by a spoiler animation.isSecret - True, if the animation thumbnail must be blurred and the animation must be shown only while tapped.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object