Start Thread With Message

ORCAcode discord_start_thread_with_message(struct discord *client, u64_snowflake_t channel_id, u64_snowflake_t message_id, struct discord_start_thread_with_message_params *params, struct discord_channel *ret)

Creates a new thread from an existing message.

Note

Fires a Thread Create event

Parameters
  • client – the client created with discord_init()

  • channel_id – channel to start a thread on

  • message_id – message to start a thread from

  • params – request parameters

  • ret – if successful, a discord_thread_channel that should be free’d with discord_thread_channel_cleanup()

Returns

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

Warning

doxygenstruct: Cannot find class “discord_start_thread_with_message_params” in doxygen xml output for project “Orca” from directory: ../xml