Package org.drinkless.tdlib
Class TdApi.GetMessages
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.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 longchatIdIdentifier of the chat the messages belong to.static intCONSTRUCTORIdentifier uniquely determining type of the object.long[]messageIdsIdentifiers of the messages to get.
-
Constructor Summary
Constructors Constructor Description GetMessages()Default constructor for a function, which returns information about messages.GetMessages(long chatId, long[] messageIds)Creates a function, which returns information about messages.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Identifier of the chat the messages belong to.
-
messageIds
public long[] messageIds
Identifiers of the messages to get.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetMessages
public GetMessages()
Default constructor for a function, which 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)Creates a function, which returns information about messages. If a message is not found, returns null on the corresponding position of the result.Returns
Messages- Parameters:
chatId- Identifier of the chat the messages belong to.messageIds- Identifiers of the messages to get.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-