Crosspost Message#
-
ORCAcode discord_crosspost_message(struct discord *client, u64_snowflake_t channel_id, u64_snowflake_t message_id, struct discord_message *ret)#
Crosspost a message in a News Channel to following channels.
Note
This endpoint requires the ‘SEND_MESSAGES’ permission, if the current user sent the message, or additionally the ‘MANAGE_MESSAGES’ permission, for all other messages, to be present for the current user
- Parameters:
client – the client created with discord_init()
channel_id – the news channel that will crosspost
message_id – the message that will crospost
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