v1

latestOpenAPI 3.0.12026-07-17310206.9 KB

Fetches all channels in a specified guild.

This function retrieves a list of all channels within a specific guild on Discord. It takes a guild ID as input and returns a Promise that resolves to an array of channel objects. This can be useful for obtaining information about the structure and available communication channels within a particular Discord server.

post/fetchChannels

Request body

Response

Successful response

idstring

The ID of the channel

namestring

The name of the channel

typeinteger

The type of the channel