java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PublicForwards
- Enclosing class:
- TdApi
Represents a list of public forwards and reposts as a story of a
message or a story.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.List of found public forwards and reposts.The offset for the next request.int
Approximate total number of messages and stories found. -
Constructor Summary
ConstructorDescriptionRepresents a list of public forwards and reposts as a story of a message or a story.PublicForwards
(int totalCount, TdApi.PublicForward[] forwards, String nextOffset) Represents a list of public forwards and reposts as a story of a message or a story.PublicForwards
(DataInput input) Represents a list of public forwards and reposts as a story of a message or a 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.Object
serialize, toString
-
Field Details
-
totalCount
public int totalCountApproximate total number of messages and stories found. -
forwards
List of found public forwards and reposts. -
nextOffset
The offset for the next request. If empty, then there are no more results. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PublicForwards
public PublicForwards()Represents a list of public forwards and reposts as a story of a message or a story. -
PublicForwards
Represents a list of public forwards and reposts as a story of a message or a story.- Parameters:
totalCount
- Approximate total number of messages and stories found.forwards
- List of found public forwards and reposts.nextOffset
- The offset for the next request. If empty, then there are no more results.
-
PublicForwards
Represents a list of public forwards and reposts as a story of a message or a story.- 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()
-