From 15af899e1dc636118fc3be6013ca9d5f867c4d9f Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Mon, 13 Sep 2021 13:17:51 +0200 Subject: [PATCH] Document isPublic argument as optional --- src/chat-messages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat-messages.js b/src/chat-messages.js index 912a418..5d33754 100644 --- a/src/chat-messages.js +++ b/src/chat-messages.js @@ -158,7 +158,7 @@ const ChatMessages = function (privateClient, publicClient) { * @param {string} options.channelName - Name of room/channel (e.g. "#kosmos") * @param {string} [options.channelType] - Type of channel ("room" or "person") * @param {date} options.date - Date of archive day - * @param {boolean} options.isPublic - Store logs in public folder (defaults to false) + * @param {boolean} [options.isPublic] - Store logs in public folder (defaults to false) * @param {string} [options.previous] - Date of previous log file as `YYYY/MM/DD`. Looked up automatically when not given * @param {string} [options.next] - Date of next log file as `YYYY/MM/DD`. looked up automatically when not given *