Package org.drinkless.tdlib
Class TdApi.EditStoryCover
- Enclosing class:
- TdApi
Changes cover of a video story. Can be called only if story.canBeEdited == true and the story isn't being edited now.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.doubleNew timestamp of the frame, which will be used as video thumbnail.intIdentifier of the story to edit.longIdentifier of the chat that posted the story. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes cover of a video story.EditStoryCover(long storyPosterChatId, int storyId, double coverFrameTimestamp) Creates a function, which changes cover of a video story. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
storyPosterChatId
public long storyPosterChatIdIdentifier of the chat that posted the story. -
storyId
public int storyIdIdentifier of the story to edit. -
coverFrameTimestamp
public double coverFrameTimestampNew timestamp of the frame, which will be used as video thumbnail. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
EditStoryCover
public EditStoryCover()Default constructor for a function, which changes cover of a video story. Can be called only if story.canBeEdited == true and the story isn't being edited now.Returns
Ok -
EditStoryCover
public EditStoryCover(long storyPosterChatId, int storyId, double coverFrameTimestamp) Creates a function, which changes cover of a video story. Can be called only if story.canBeEdited == true and the story isn't being edited now.Returns
Ok- Parameters:
storyPosterChatId- Identifier of the chat that posted the story.storyId- Identifier of the story to edit.coverFrameTimestamp- New timestamp of the frame, which will be used as video thumbnail.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-