Skip to main content
POST
/
users
/
@me
/
preload-messages
Preload messages for channels
curl --request POST \
  --url https://api.fluxer.app/v1/users/@me/preload-messages \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "channels": [
    "<string>"
  ]
}
'
{}

Authorizations

Authorization
string
header
required

Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.

Body

application/json
channels
string<snowflake>[]
required

Array of channel IDs to preload messages from (max 100)

Maximum array length: 100

Response

Success

A map of channel IDs to the latest message in each channel

{key}
object