Package org.drinkless.tdlib
Class TdApi.DeleteStory
- Enclosing class:
- TdApi
Deletes a previously posted story. Can be called only if story.canBeDeleted == true.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Identifier of the story to delete.long
Identifier of the chat that posted the story. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which deletes a previously posted story.DeleteStory
(long storyPosterChatId, int storyId) Creates a function, which deletes a previously posted story. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns 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 delete. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
DeleteStory
public DeleteStory()Default constructor for a function, which deletes a previously posted story. Can be called only if story.canBeDeleted == true.Returns
Ok
-
DeleteStory
public DeleteStory(long storyPosterChatId, int storyId) Creates a function, which deletes a previously posted story. Can be called only if story.canBeDeleted == true.Returns
Ok
- Parameters:
storyPosterChatId
- Identifier of the chat that posted the story.storyId
- Identifier of the story to delete.
-
-
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
-