Package it.tdlight.jni
Class TdApi.Messages
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Messages
- Enclosing class:
- TdApi
public static class TdApi.Messages extends TdApi.Object
Contains a list of messages.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.Message[]
messages
List of messages; messages may be null.int
totalCount
Approximate total count of messages found. -
Constructor Summary
Constructors Constructor Description Messages()
Contains a list of messages.Messages(int totalCount, TdApi.Message[] messages)
Contains a list of messages.Messages(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
totalCount
public int totalCountApproximate total count of messages found. -
messages
List of messages; messages may be null. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
Messages
public Messages()Contains a list of messages. -
Messages
Contains a list of messages.- Parameters:
totalCount
- int Approximate total count of messages found.messages
- Message[] List of messages; messages may be null.
-
Messages
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-