Class TdApi.GetMessages

  • Enclosing class:
    TdApi

    public static class TdApi.GetMessages
    extends TdApi.Function
    Returns information about messages. If a message is not found, returns null on the corresponding position of the result.

    Returns Messages

    • Field Detail

      • chatId

        public long chatId
        Identifier of the chat the messages belong to.
      • messageIds

        public long[] messageIds
        Identifiers of the messages to get.
      • CONSTRUCTOR

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

      • GetMessages

        public GetMessages()
        Default constructor for a function, which returns information about messages. If a message is not found, returns null on the corresponding position of the result.

        Returns Messages

      • GetMessages

        public GetMessages​(long chatId,
                           long[] messageIds)
        Creates a function, which returns information about messages. If a message is not found, returns null on the corresponding position of the result.

        Returns Messages

        Parameters:
        chatId - Identifier of the chat the messages belong to.
        messageIds - Identifiers of the messages to get.