Module tdlight.api

Class TdApi.GetMessages

Enclosing class:
TdApi

public static final class TdApi.GetMessages extends TdApi.Function<TdApi.Messages>
Returns information about messages. If a message is not found, returns null on the corresponding position of the result. Returns Messages
  • Field Details

    • 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
      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

      public GetMessages(DataInput input) throws IOException
      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