removeThreadMember

suspend fun removeThreadMember(userId: String)(source)

Remove a user from the current thread.

Only usable for GuildThread.

Requires Permission.MANAGE_THREADS permission if the thread is not private or current user is not the creator of the thread.

Parameters

userId

The user to remove from the thread.

Throws