edit
inline suspend fun ThreadChannelBehavior.edit(builder: ThreadModifyBuilder.() -> Unit): ThreadChannel(source)
Editing a thread to set archived to false only requires the current user to be in the thread.
If locked is true, then the user must have Manage Threads
Editing a thread to change the name, archived, autoArchiveDuration fields requires Manage Threads or that the current user is the thread creator.