Module tdlight.api

Class TdApi.FoundMessages

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.FoundMessages
Enclosing class:
TdApi

public static final class TdApi.FoundMessages extends TdApi.Object
Contains a list of messages found by a search.
  • Field Details

    • totalCount

      public int totalCount
      Approximate total number of messages found; -1 if unknown.
    • messages

      public TdApi.Message[] messages
      List of messages.
    • nextOffset

      public String nextOffset
      The offset for the next request. If empty, there are no more results.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • FoundMessages

      public FoundMessages()
      Contains a list of messages found by a search.
    • FoundMessages

      public FoundMessages(int totalCount, TdApi.Message[] messages, String nextOffset)
      Contains a list of messages found by a search.
      Parameters:
      totalCount - int Approximate total number 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

      public FoundMessages(DataInput input) throws IOException
      Contains a list of messages found by a search.
      Throws:
      IOException
  • Method Details