Class TdApi.GetMessageThread

  • Enclosing class:
    TdApi

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

    Returns MessageThreadInfo

    • Field Detail

      • chatId

        public long chatId
        Chat identifier.
      • messageId

        public long messageId
        Identifier of the message.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetMessageThread

        public GetMessageThread()
        Default constructor for a function, which returns information about a message thread. Can be used only if message.canGetMessageThread == true.

        Returns MessageThreadInfo

      • GetMessageThread

        public GetMessageThread​(long chatId,
                                long messageId)
        Creates a function, which returns information about a message thread. Can be used only if message.canGetMessageThread == true.

        Returns MessageThreadInfo

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