List Private Archived Threads¶
-
ORCAcode discord_list_private_archived_threads(struct discord *client, u64_snowflake_t channel_id, u64_unix_ms_t before, int limit, struct discord_thread_response_body *body)¶
Get private archived threads in a given channel.
- Parameters
client – the client created with discord_init()
channel_id – the channel to be searched for threads
before – return threads before this timestamp
limit – maximum number of threads to return
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