Add note about archiver_id

This commit is contained in:
Eric Schneider 2024-05-30 13:24:56 +02:00 committed by GitHub
parent 205ddaff66
commit 2c197649c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -121,6 +121,10 @@ class Thread(Messageable, Hashable):
This is always ``True`` for public threads.
archiver_id: Optional[:class:`int`]
The user's ID that archived this thread.
.. note::
Due to an API change, the ``archiver_id`` will always be ``None`` and can only be obtained via the audit log.
auto_archive_duration: :class:`int`
The duration in minutes until the thread is automatically hidden from the channel list.
Usually a value of 60, 1440, 4320 and 10080.