java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatActiveStories
- Enclosing class:
- TdApi
Describes active stories posted by a chat.
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat that posted the stories.static final int
Identifier uniquely determining type of the object.Identifier of the story list in which the stories are shown; may be null if the stories aren't shown in a story list.int
Identifier of the last read active story.long
A parameter used to determine order of the stories in the story list; 0 if the stories doesn't need to be shown in the story list.Basic information about the stories; use getStory to get full information about the stories. -
Constructor Summary
ConstructorDescriptionDescribes active stories posted by a chat.ChatActiveStories
(long chatId, TdApi.StoryList list, long order, int maxReadStoryId, TdApi.StoryInfo[] stories) Describes active stories posted by a chat.ChatActiveStories
(DataInput input) Describes active stories posted by a 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.Object
serialize, toString
-
Field Details
-
chatId
public long chatIdIdentifier of the chat that posted the stories. -
list
Identifier of the story list in which the stories are shown; may be null if the stories aren't shown in a story list. -
order
public long orderA parameter used to determine order of the stories in the story list; 0 if the stories doesn't need to be shown in the story list. Stories must be sorted by the pair (order, storySenderChatId) in descending order. -
maxReadStoryId
public int maxReadStoryIdIdentifier of the last read active story. -
stories
Basic information about the stories; use getStory to get full information about the stories. The stories are in a chronological order (i.e., in order of increasing story identifiers). -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatActiveStories
public ChatActiveStories()Describes active stories posted by a chat. -
ChatActiveStories
public ChatActiveStories(long chatId, TdApi.StoryList list, long order, int maxReadStoryId, TdApi.StoryInfo[] stories) Describes active stories posted by a chat.- Parameters:
chatId
- Identifier of the chat that posted the stories.list
- Identifier of the story list in which the stories are shown; may be null if the stories aren't shown in a story list.order
- A parameter used to determine order of the stories in the story list; 0 if the stories doesn't need to be shown in the story list. Stories must be sorted by the pair (order, storySenderChatId) in descending order.maxReadStoryId
- Identifier of the last read active story.stories
- Basic information about the stories; use getStory to get full information about the stories. The stories are in a chronological order (i.e., in order of increasing story identifiers).
-
ChatActiveStories
Describes active stories posted by a chat.- 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()
-