Edit Channel Permissions

ORCAcode discord_edit_channel_permissions(struct discord *client, u64_snowflake_t channel_id, u64_snowflake_t overwrite_id, struct discord_edit_channel_permissions_params *params)

Edit the channel permission overwrites for a user or role in a channel.

Parameters
  • client – the client created with discord_init()

  • channel_id – the channel that the message belongs to

  • overwrite_id

  • params – request parameters

Returns

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

Warning

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