Add Thread Member

ORCAcode discord_add_thread_member(struct discord *client, u64_snowflake_t channel_id, u64_snowflake_t user_id)

Adds another member to an un-archived thread.

Note

Fires a Thread Members Update event

Parameters
  • client – the client created with discord_init()

  • channel_id – the thread to be joined

  • user_id – user to be added to thread

Returns

ORCAcode for how the operation went, ORCA_OK means nothing out of the ordinary