@@ -56,11 +56,13 @@ CCORDcode discord_modify_channel(struct discord *client,
56
56
*
57
57
* @param client the client created with discord_init()
58
58
* @param channel_id the channel to be deleted
59
+ * @param params request parameters
59
60
* @CCORD_ret_obj{ret,channel}
60
61
* @CCORD_return
61
62
*/
62
63
CCORDcode discord_delete_channel(struct discord *client,
63
64
u64snowflake channel_id,
65
+ struct discord_delete_channel *params,
64
66
struct discord_ret_channel *ret);
65
67
66
68
/**
@@ -266,11 +268,13 @@ CCORDcode discord_edit_message(struct discord *client,
266
268
* @param channel_id the channel that the message belongs to
267
269
* @param message_id the message that will be purged of reactions from
268
270
* particular emoji
271
+ * @param params request parameters
269
272
* @CCORD_return
270
273
*/
271
274
CCORDcode discord_delete_message(struct discord *client,
272
275
u64snowflake channel_id,
273
276
u64snowflake message_id,
277
+ struct discord_delete_message *params,
274
278
struct discord_ret *ret);
275
279
276
280
/**
@@ -340,13 +344,16 @@ CCORDcode discord_create_channel_invite(
340
344
* @param client the client created with discord_init()
341
345
* @param channel_id the channel to the permission deleted
342
346
* @param overwrite_id the id of the overwritten permission
347
+ * @param params request parameters
343
348
* @CCORD_ret{ret}
344
349
* @CCORD_return
345
350
*/
346
- CCORDcode discord_delete_channel_permission(struct discord *client,
347
- u64snowflake channel_id,
348
- u64snowflake overwrite_id,
349
- struct discord_ret *ret);
351
+ CCORDcode discord_delete_channel_permission(
352
+ struct discord *client,
353
+ u64snowflake channel_id,
354
+ u64snowflake overwrite_id,
355
+ struct discord_delete_channel_permission *params,
356
+ struct discord_ret *ret);
350
357
351
358
/**
352
359
* @brief Post a typing indicator for the specified channel
@@ -394,12 +401,14 @@ CCORDcode discord_get_pinned_messages(struct discord *client,
394
401
* @param client the client created with discord_init()
395
402
* @param channel_id channel to pin the message on
396
403
* @param message_id message to be pinned
404
+ * @param params request parameters
397
405
* @CCORD_ret{ret}
398
406
* @CCORD_return
399
407
*/
400
408
CCORDcode discord_pin_message(struct discord *client,
401
409
u64snowflake channel_id,
402
410
u64snowflake message_id,
411
+ struct discord_pin_message *params,
403
412
struct discord_ret *ret);
404
413
405
414
/**
@@ -408,12 +417,14 @@ CCORDcode discord_pin_message(struct discord *client,
408
417
* @param client the client created with discord_init()
409
418
* @param channel_id channel for the message to be unpinned
410
419
* @param message_id message to be unpinned
420
+ * @param params request parameters
411
421
* @CCORD_ret{ret}
412
422
* @CCORD_return
413
423
*/
414
424
CCORDcode discord_unpin_message(struct discord *client,
415
425
u64snowflake channel_id,
416
426
u64snowflake message_id,
427
+ struct discord_unpin_message *params,
417
428
struct discord_ret *ret);
418
429
419
430
/**
0 commit comments