Package it.tdlight.jni
Class TdApi.GetMessages
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetMessages
- Enclosing class:
- TdApi
public static class TdApi.GetMessages extends TdApi.Function
Returns information about messages.
If a message is not found, returns
null on the corresponding position of the result.
Returns Messages
-
Field Summary
Fields Modifier and Type Field Description long
chatId
Identifier of the chat the messages belong to.static int
CONSTRUCTOR
long[]
messageIds
Identifiers of the messages to get. -
Constructor Summary
Constructors Constructor Description GetMessages()
Returns information about messages.GetMessages(long chatId, long[] messageIds)
Returns information about messages.GetMessages(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.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdIdentifier of the chat the messages belong to. -
messageIds
public long[] messageIdsIdentifiers of the messages to get. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetMessages
public GetMessages()Returns information about messages. If a message is not found, returns null on the corresponding position of the result.Returns
Messages
-
GetMessages
public GetMessages(long chatId, long[] messageIds)Returns information about messages. If a message is not found, returns null on the corresponding position of the result.Returns
Messages
- Parameters:
chatId
- long Identifier of the chat the messages belong to.messageIds
- long[] Identifiers of the messages to get.
-
GetMessages
- 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()
-