Package org.drinkless.tdlib
Class TdApi.CloseStory
- Enclosing class:
- TdApi
Informs TDLib that a story is closed by the user.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intThe identifier of the story.longThe identifier of the poster of the story to close. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which informs TDLib that a story is closed by the user.CloseStory(long storyPosterChatId, int storyId) Creates a function, which informs TDLib that a story is closed by the user. -
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 storyPosterChatIdThe identifier of the poster of the story to close. -
storyId
public int storyIdThe identifier of the story. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
CloseStory
public CloseStory()Default constructor for a function, which informs TDLib that a story is closed by the user.Returns
Ok -
CloseStory
public CloseStory(long storyPosterChatId, int storyId) Creates a function, which informs TDLib that a story is closed by the user.Returns
Ok- Parameters:
storyPosterChatId- The identifier of the poster of the story to close.storyId- The identifier of the story.
-
-
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
-