- Enclosing class:
- TdApi
Returns the list of all stories posted by the given chat; requires
canEditStories right in the chat. 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 TypeFieldDescriptionlong
Chat identifier.static 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 posted by the given chat; requires canEditStories right in the chat.GetChatArchivedStories
(long chatId, int fromStoryId, int limit) Returns the list of all stories posted by the given chat; requires canEditStories right in the chat.GetChatArchivedStories
(DataInput input) Returns the list of all stories posted by the given chat; requires canEditStories right in the chat. -
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
-
chatId
public long chatIdChat identifier. -
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
-
GetChatArchivedStories
public GetChatArchivedStories()Returns the list of all stories posted by the given chat; requires canEditStories right in the chat. 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
-
GetChatArchivedStories
public GetChatArchivedStories(long chatId, int fromStoryId, int limit) Returns the list of all stories posted by the given chat; requires canEditStories right in the chat. 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:
chatId
- Chat identifier.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
-
GetChatArchivedStories
Returns the list of all stories posted by the given chat; requires canEditStories right in the chat. 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()
-