- Enclosing class:
- TdApi
Returns viewers of a recent outgoing story. The method can be called
if story.canGetViewers == true. The views are returned in a reverse
chronological order (i.e., in order of decreasing viewDate) For
optimal performance, the number of returned stories is chosen by
TDLib.
Returns MessageViewers
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
The maximum number of story viewers to return For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit.A viewer from which to return next viewers; pass null to get results from the beginning.int
Story identifier. -
Constructor Summary
ConstructorDescriptionReturns viewers of a recent outgoing story.GetStoryViewers
(int storyId, TdApi.MessageViewer offsetViewer, int limit) Returns viewers of a recent outgoing story.GetStoryViewers
(DataInput input) Returns viewers of a recent outgoing story. -
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
-
storyId
public int storyIdStory identifier. -
offsetViewer
A viewer from which to return next viewers; pass null to get results from the beginning. -
limit
public int limitThe maximum number of story viewers to return 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
-
GetStoryViewers
public GetStoryViewers()Returns viewers of a recent outgoing story. The method can be called if story.canGetViewers == true. The views are returned in a reverse chronological order (i.e., in order of decreasing viewDate) For optimal performance, the number of returned stories is chosen by TDLib.Returns
MessageViewers
-
GetStoryViewers
Returns viewers of a recent outgoing story. The method can be called if story.canGetViewers == true. The views are returned in a reverse chronological order (i.e., in order of decreasing viewDate) For optimal performance, the number of returned stories is chosen by TDLib.Returns
MessageViewers
- Parameters:
storyId
- Story identifier.offsetViewer
- A viewer from which to return next viewers; pass null to get results from the beginning.limit
- The maximum number of story viewers to return For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit.Returns
MessageViewers
-
GetStoryViewers
Returns viewers of a recent outgoing story. The method can be called if story.canGetViewers == true. The views are returned in a reverse chronological order (i.e., in order of decreasing viewDate) For optimal performance, the number of returned stories is chosen by TDLib.Returns
MessageViewers
- 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()
-