- Enclosing class:
- TdApi
Returns information about messages.
If a message is not found, returns
null on the corresponding position of the result.
Returns Messages
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat the messages belong to.static final int
long[]
Identifiers of the messages to get. -
Constructor Summary
ConstructorDescriptionReturns information about messages.GetMessages
(long chatId, long[] messageIds) Returns information about messages.GetMessages
(DataInput input) Returns information about messages. -
Method Summary
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:
-
-
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
Returns information about messages. If a message is not found, returns null on the corresponding position of the result.Returns
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()
-