fetchGuildChannel

async fetchGuildChannel(channelId: string) → Promise<AnyGuildChannel | null>

Fetches any channel that belongs to a guild. Returns null for unsupported or missing channels.

Parameters:
  • channelId: The channel ID to fetch.