Users

Preload messages for channels (alternative)

Alternative endpoint to preload and cache messages for multiple channels to improve performance when opening those channels. Returns preloaded message data for the specified channels.

post/users/@me/channels/messages/preload

Request body

channelsSnowflakeType[] required

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

Response

Success

PreloadMessagesResponse required

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

Changes

No recorded changes to this endpoint across all 1 revision of this API.