Module tdlight.api

Class TdApi.GetMessage

Enclosing class:
TdApi

public static final class TdApi.GetMessage extends TdApi.Function<TdApi.Message>
Returns information about a message.

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

    • GetMessage

      public GetMessage()
      Returns information about a message.

      Returns Message

    • GetMessage

      public GetMessage(long chatId, long messageId)
      Returns information about a message.

      Returns Message

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

      public GetMessage(DataInput input) throws IOException
      Returns information about a message.

      Returns Message

      Throws:
      IOException
  • Method Details