File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -972,7 +972,6 @@ Retrieves the list of pins in a channel. Requires the `VIEW_CHANNEL` permission.
972
972
| Field | Type | Description | Default |
973
973
| ---------| -------------------| -------------------------------------------| ---------|
974
974
| before? | ISO8601 timestamp | Get messages pinned before this timestamp | absent |
975
- | after? | ISO8601 timestamp | Get messages pinned after this timestamp | absent |
976
975
| limit? | integer | Max number of pins to return (1-50) | 50 |
977
976
978
977
###### Response Structure
@@ -986,7 +985,7 @@ Retrieves the list of pins in a channel. Requires the `VIEW_CHANNEL` permission.
986
985
987
986
If you want to get 100 pins you'd send these two requests:
988
987
` GET /channels/:id/messages/pins?limit=50 `
989
- ` GET /channels/:id/messages/pins?limit=50&after ={pins[pins.len() - 1].pinned_at} `
988
+ ` GET /channels/:id/messages/pins?limit=50&before ={pins[pins.len() - 1].pinned_at} `
990
989
991
990
## Pin Message
992
991
<Route method = " PUT" >/channels/[ \{ channel.id\} ] ( /docs/resources/channel#channel-object ) /messages/pins/[ \{ message.id\} ] ( /docs/resources/message#message-object ) </Route >
You can’t perform that action at this time.
0 commit comments