Class TdApi.Stories
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Stories
- Enclosing class:
- TdApi
Represents a list of stories.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int[]
Identifiers of the pinned stories; returned only in getChatPostedToChatPageStories with fromStoryId == 0.The list of stories.int
Approximate total number of stories found. -
Constructor Summary
ConstructorDescriptionStories()
Represents a list of stories.Stories
(int totalCount, TdApi.Story[] stories, int[] pinnedStoryIds) Represents a list of stories. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
totalCount
public int totalCountApproximate total number of stories found. -
stories
The list of stories. -
pinnedStoryIds
public int[] pinnedStoryIdsIdentifiers of the pinned stories; returned only in getChatPostedToChatPageStories with fromStoryId == 0. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
Stories
public Stories()Represents a list of stories. -
Stories
Represents a list of stories.- Parameters:
totalCount
- Approximate total number of stories found.stories
- The list of stories.pinnedStoryIds
- Identifiers of the pinned stories; returned only in getChatPostedToChatPageStories with fromStoryId == 0.
-
-
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
-