provider GET /channels/{channel_id}/messages
@utdk/discord /channels/{channel_id}/messages
list_messages
channel_id path required
string
around query
string
before query
string
after query
string
limit query
integer

Try it

Authentication
Configure credentials for Discord HTTP API (Preview)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

listMessages
GET/channels/{channel_id}/messages

Parameters

required

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import discord from '@utdk/discord';

await discord.listMessages()