List Thread Members

ORCAcode discord_list_thread_members(struct discord *client, u64_snowflake_t channel_id, struct discord_thread_member ***ret)

Get members from a given thread channel.

Note

Fires a Thread Members Update event

Note

Requires MANAGE_THREADS permission

Parameters
  • client – the client created with discord_init()

  • channel_id – the thread to be joined

  • ret – if successful, a null-terminated list of discord_thread_member, that should be free’d with discord_thread_member_list_free()

Returns

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