From dc2a3eb9f00d021b951d2f458d02207026e65309 Mon Sep 17 00:00:00 2001 From: ITOH <72305210+itohatweb@users.noreply.github.com> Date: Sat, 1 May 2021 11:18:16 +0200 Subject: [PATCH] add: ListPublicArchivedThreads --- src/types/channels/list_public_archived_threads.ts | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/types/channels/list_public_archived_threads.ts diff --git a/src/types/channels/list_public_archived_threads.ts b/src/types/channels/list_public_archived_threads.ts new file mode 100644 index 000000000..fe5eae590 --- /dev/null +++ b/src/types/channels/list_public_archived_threads.ts @@ -0,0 +1,7 @@ +export interface ListPublicArchivedThreads { + // TODO: convert unix to ISO9601 timestamp + /** Returns threads before this timestamp. UNIX or ISO8601 timestamp */ + before?: number | string; + /** Optional maximum number of threads to return */ + limit?: number; +}