public static class TdApi.AddSavedAnimation extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
TdApi.InputFile |
animation
The animation file to be added.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
AddSavedAnimation()
Default constructor for a function, which manually adds a new animation to the list of saved animations.
|
AddSavedAnimation(TdApi.InputFile animation)
Creates a function, which manually adds a new animation to the list of saved animations.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.InputFile animation
public static final int CONSTRUCTOR
public AddSavedAnimation()
Returns Ok
public AddSavedAnimation(TdApi.InputFile animation)
Returns Ok
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object