This route requires Bearer token authentication! You MUST have PIN_MESSAGES permission for this route.
PUT https://localhost:8989/api/channels/{channelID}/pins
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| channelID | string | Required |
The request body takes a complete Message History Request resource, containing the following writable properties:
{
"messageID": "string",
"pinned": "boolean"
}
| Name | Type | Description | Additional |
|---|---|---|---|
| messageID | string | ||
| pinned | boolean |
0 or 1, I think. or maybe true/false works too idk |
The following HTTP status codes may be returned, optionally with a response resource.
| Status code | Description | Resource |
|---|---|---|
| 200 | OK a GenericMessage data object |
GenericMessage |