Package it.tdlight.jni
Class TdApi.PushMessageContentAnimation
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PushMessageContent
it.tdlight.jni.TdApi.PushMessageContentAnimation
- Enclosing class:
- TdApi
public static class TdApi.PushMessageContentAnimation extends TdApi.PushMessageContent
An animation message (GIF-style).
-
Field Summary
Fields Modifier and Type Field Description TdApi.Animation
animation
Message content; may be null.String
caption
Animation caption.static int
CONSTRUCTOR
boolean
isPinned
True, if the message is a pinned message with the specified content. -
Constructor Summary
Constructors Constructor Description PushMessageContentAnimation()
An animation message (GIF-style).PushMessageContentAnimation(TdApi.Animation animation, String caption, boolean isPinned)
An animation message (GIF-style).PushMessageContentAnimation(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
animation
Message content; may be null. -
isPinned
public boolean isPinnedTrue, if the message is a pinned message with the specified content. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
PushMessageContentAnimation
public PushMessageContentAnimation()An animation message (GIF-style). -
PushMessageContentAnimation
An animation message (GIF-style).- Parameters:
animation
- Animation Message content; may be null.caption
- String Animation caption.isPinned
- boolean True, if the message is a pinned message with the specified content.
-
PushMessageContentAnimation
- 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()
-