- Enclosing class:
- TdApi
Manually adds a new animation to the
list of saved animations. The new
animation is added to the beginning
of the list. If the animation was
already in the list, it is removed
first. Only non-secret video animations
with MIME type "video/mp4"
can be added to the list.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionThe animation file to be added.static final int
-
Constructor Summary
ConstructorDescriptionManually adds a new animation to the list of saved animations.AddSavedAnimation
(TdApi.InputFile animation) Manually adds a new animation to the list of saved animations.AddSavedAnimation
(DataInput input) Manually adds a new animation to the list of saved animations. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
animation
The animation file to be added. Only animations known to the server (i.e., successfully sent via a message) can be added to the list. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
AddSavedAnimation
public AddSavedAnimation()Manually adds a new animation to the list of saved animations. The new animation is added to the beginning of the list. If the animation was already in the list, it is removed first. Only non-secret video animations with MIME type "video/mp4" can be added to the list.Returns
Ok
-
AddSavedAnimation
Manually adds a new animation to the list of saved animations. The new animation is added to the beginning of the list. If the animation was already in the list, it is removed first. Only non-secret video animations with MIME type "video/mp4" can be added to the list.Returns
Ok
- Parameters:
animation
- InputFile The animation file to be added. Only animations known to the server (i.e., successfully sent via a message) can be added to the list.
-
AddSavedAnimation
Manually adds a new animation to the list of saved animations. The new animation is added to the beginning of the list. If the animation was already in the list, it is removed first. Only non-secret video animations with MIME type "video/mp4" can be added to the list.Returns
Ok
- 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()
-