Package org.drinkless.tdlib
Class TdApi.GetStory
- Enclosing class:
- TdApi
Returns a story.
Returns Story
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.booleanPass true to get only locally available information without sending network requests.intStory identifier.longIdentifier of the chat that posted the story. -
Constructor Summary
Constructors -
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 storyIdStory identifier. -
onlyLocal
public boolean onlyLocalPass true to get only locally available information without sending network requests. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetStory
public GetStory()Default constructor for a function, which returns a story.Returns
Story -
GetStory
public GetStory(long storyPosterChatId, int storyId, boolean onlyLocal) Creates a function, which returns a story.Returns
Story- Parameters:
storyPosterChatId- Identifier of the chat that posted the story.storyId- Story identifier.onlyLocal- Pass true to get only locally available information without sending network requests.
-
-
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
-