Package it.tdlight.jni
Class TdApi.FoundMessages
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.FoundMessages
- Enclosing class:
- TdApi
public static class TdApi.FoundMessages extends TdApi.Object
Contains a list of messages found by a search.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.Message[]
messages
List of messages.String
nextOffset
The offset for the next request.int
totalCount
Approximate total count of messages found; -1 if unknown. -
Constructor Summary
Constructors Constructor Description FoundMessages()
Contains a list of messages found by a search.FoundMessages(int totalCount, TdApi.Message[] messages, String nextOffset)
Contains a list of messages found by a search.FoundMessages(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
totalCount
public int totalCountApproximate total count of messages found; -1 if unknown. -
messages
List of messages. -
nextOffset
The offset for the next request. If empty, there are no more results. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
FoundMessages
public FoundMessages()Contains a list of messages found by a search. -
FoundMessages
Contains a list of messages found by a search.- Parameters:
totalCount
- int Approximate total count of messages found; -1 if unknown.messages
- Message[] List of messages.nextOffset
- String The offset for the next request. If empty, there are no more results.
-
FoundMessages
- 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()
-