- Enclosing class:
- TdApi
Returns the list of all stories of the current user. The stories are
returned in a reverse chronological order (i.e., in order of
decreasing storyId). For optimal performance, the number of returned
stories is chosen by TDLib.
Returns Stories
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Identifier of the story starting from which stories must be returned; use 0 to get results from the last story.int
The maximum number of stories to be returned For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit. -
Constructor Summary
ConstructorDescriptionReturns the list of all stories of the current user.GetArchivedStories
(int fromStoryId, int limit) Returns the list of all stories of the current user.GetArchivedStories
(DataInput input) Returns the list of all stories of the current user. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
fromStoryId
public int fromStoryIdIdentifier of the story starting from which stories must be returned; use 0 to get results from the last story. -
limit
public int limitThe maximum number of stories to be returned For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetArchivedStories
public GetArchivedStories()Returns the list of all stories of the current user. The stories are returned in a reverse chronological order (i.e., in order of decreasing storyId). For optimal performance, the number of returned stories is chosen by TDLib.Returns
Stories
-
GetArchivedStories
public GetArchivedStories(int fromStoryId, int limit) Returns the list of all stories of the current user. The stories are returned in a reverse chronological order (i.e., in order of decreasing storyId). For optimal performance, the number of returned stories is chosen by TDLib.Returns
Stories
- Parameters:
fromStoryId
- Identifier of the story starting from which stories must be returned; use 0 to get results from the last story.limit
- The maximum number of stories to be returned For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit.Returns
Stories
-
GetArchivedStories
Returns the list of all stories of the current user. The stories are returned in a reverse chronological order (i.e., in order of decreasing storyId). For optimal performance, the number of returned stories is chosen by TDLib.Returns
Stories
- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-