Class TdApi.EditStoryCover
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.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
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.double
New timestamp of the frame, which will be used as video thumbnail.int
Identifier of the story to edit.long
Identifier of the chat that posted the story. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which changes cover of a video story.EditStoryCover
(long storySenderChatId, int storyId, double coverFrameTimestamp) Creates a function, which changes cover of a video story. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
storySenderChatId
public long storySenderChatIdIdentifier 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 storySenderChatId, 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:
storySenderChatId
- 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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-