We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd1bc9c commit 6167fd8Copy full SHA for 6167fd8
src/Discord/Endpoint.php
@@ -78,9 +78,15 @@ class Endpoint
78
// POST
79
public const CHANNEL_TYPING = self::CHANNEL.'/typing';
80
// GET
81
+ /** @deprecated Use `CHANNEL_MESSAGES_PINS` */
82
public const CHANNEL_PINS = self::CHANNEL.'/pins';
83
// PUT, DELETE
84
85
public const CHANNEL_PIN = self::CHANNEL.'/pins/:message_id';
86
+ // GET
87
+ public const CHANNEL_MESSAGES_PINS = self::CHANNEL.'/messages/pins';
88
+ // PUT, DELETE
89
+ public const CHANNEL_MESSAGES_PIN = self::CHANNEL.'/messages/pins/:message_id';
90
91
public const CHANNEL_THREADS = self::CHANNEL.'/threads';
92
0 commit comments