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 intIdentifier uniquely determining type of the object.intIdentifier of the story to delete.longIdentifier 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 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 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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-