Leave Thread#
-
ORCAcode discord_leave_thread(struct discord *client, u64_snowflake_t channel_id)#
Removes the current user from a un-archived thread.
Note
Fires a
Thread Members Update
event- Parameters:
client – the client created with discord_init()
channel_id – the thread to be removed from
- Returns:
ORCAcode for how the operation went, ORCA_OK means nothing out of the ordinary