Discord User icon

Discord User

Complete Discord automation - Messages, Servers, Roles, Members, DMs

Channel → Get Info

AI-generated

Summary

Fetches a Discord channel's ID, type, and name by channel ID.

Inputs

  • channelId (required) — The ID of the channel to fetch information for.

Output shape

object

Returns an object with the channel's ID, type, and name as declared in the source. The name field may be undefined if the channel object lacks a name property.

Examples

Example 1: Retrieve info for a specific channel

Provide the channelId parameter with the target channel's Snowflake ID. The node fetches the channel via Discord's API and returns its metadata.

Discussion