Module tdlight.api

Class TdApi.GetMessageLocally

Enclosing class:
TdApi

public static final class TdApi.GetMessageLocally extends TdApi.Function<TdApi.Message>
Returns information about a message, if it is available locally without sending network request. This is an offline request.

Returns Message

  • Field Details

    • chatId

      public long chatId
      Identifier of the chat the message belongs to.
    • messageId

      public long messageId
      Identifier of the message to get.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • GetMessageLocally

      public GetMessageLocally()
      Returns information about a message, if it is available locally without sending network request. This is an offline request.

      Returns Message

    • GetMessageLocally

      public GetMessageLocally(long chatId, long messageId)
      Returns information about a message, if it is available locally without sending network request. This is an offline request.

      Returns Message

      Parameters:
      chatId - long Identifier of the chat the message belongs to.
      messageId - long Identifier of the message to get.
    • GetMessageLocally

      public GetMessageLocally(DataInput input) throws IOException
      Returns information about a message, if it is available locally without sending network request. This is an offline request.

      Returns Message

      Throws:
      IOException
  • Method Details