List Active Threads

ORCAcode discord_list_active_threads(struct discord *client, u64_snowflake_t channel_id, struct discord_thread_response_body *body)

Get all active threads in a given channel.

Todo:

replace with https://discord.com/developers/docs/resources/guild#list-active-threads

Deprecated:

Discord will deprecate this in V10

Parameters
  • client – the client created with discord_init()

  • channel_id – the channel to be searched for threads

  • body – if successful, a discord_thread_response_body that should be free’d with discord_thread_response_body_cleanup()

Returns

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