Skip to content

Commit 6167fd8

Browse files
committed
1 parent fd1bc9c commit 6167fd8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Discord/Endpoint.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,15 @@ class Endpoint
7878
// POST
7979
public const CHANNEL_TYPING = self::CHANNEL.'/typing';
8080
// GET
81+
/** @deprecated Use `CHANNEL_MESSAGES_PINS` */
8182
public const CHANNEL_PINS = self::CHANNEL.'/pins';
8283
// PUT, DELETE
84+
/** @deprecated Use `CHANNEL_MESSAGES_PINS` */
8385
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';
8490
// POST
8591
public const CHANNEL_THREADS = self::CHANNEL.'/threads';
8692
// POST

0 commit comments

Comments
 (0)