Skip to content

Commit 5f91d74

Browse files
authored
add type query param for get reactions endpoint (#6377)
* add type query param for get reactions endpoint * add reaction type * fix enum documentation * fix reaction types link
1 parent 4c6b571 commit 5f91d74

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

docs/resources/Channel.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,10 +1146,18 @@ The `emoji` must be [URL Encoded](https://en.wikipedia.org/wiki/Percent-encoding
11461146

11471147
###### Query String Params
11481148

1149-
| Field | Type | Description | Default |
1150-
|--------|-----------|---------------------------------------|---------|
1151-
| after? | snowflake | Get users after this user ID | absent |
1152-
| limit? | integer | Max number of users to return (1-100) | 25 |
1149+
| Field | Type | Description | Default |
1150+
|--------|-----------|------------------------------------------------------------------------------|---------|
1151+
| type? | integer | The [type of reaction](#DOCS_RESOURCES_CHANNEL/get-reactions-reaction-types) | 0 |
1152+
| after? | snowflake | Get users after this user ID | absent |
1153+
| limit? | integer | Max number of users to return (1-100) | 25 |
1154+
1155+
###### Reaction Types
1156+
1157+
| Type | Value |
1158+
|--------|-------|
1159+
| NORMAL | 0 |
1160+
| BURST | 1 |
11531161

11541162
## Delete All Reactions % DELETE /channels/{channel.id#DOCS_RESOURCES_CHANNEL/channel-object}/messages/{message.id#DOCS_RESOURCES_CHANNEL/message-object}/reactions
11551163

0 commit comments

Comments
 (0)