Module tdlight.api

Class TdApi.GetMessageThread

Enclosing class:
TdApi

public static final class TdApi.GetMessageThread extends TdApi.Function<TdApi.MessageThreadInfo>
Returns information about a message thread. Can be used only if message.canGetMessageThread == true.

Returns MessageThreadInfo

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • messageId

      public long messageId
      Identifier of the message.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • GetMessageThread

      public GetMessageThread()
      Returns information about a message thread. Can be used only if message.canGetMessageThread == true.

      Returns MessageThreadInfo

    • GetMessageThread

      public GetMessageThread(long chatId, long messageId)
      Returns information about a message thread. Can be used only if message.canGetMessageThread == true.

      Returns MessageThreadInfo

      Parameters:
      chatId - long Chat identifier.
      messageId - long Identifier of the message.
    • GetMessageThread

      public GetMessageThread(DataInput input) throws IOException
      Returns information about a message thread. Can be used only if message.canGetMessageThread == true.

      Returns MessageThreadInfo

      Throws:
      IOException
  • Method Details