Edit Webhook Message

ORCAcode discord_edit_webhook_message(struct discord *client, u64_snowflake_t webhook_id, const char webhook_token[], u64_snowflake_t message_id, struct discord_edit_webhook_message_params *params, struct discord_message *ret)

Edits a previously-sent webhook message from the same token.

Parameters
  • client – the client created with discord_init()

  • webhook_id – the webhook itself

  • webhook_token – the webhook token

  • message_id – the message the webhook belongs to

  • params – request parameters

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

Returns

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

Warning

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