fetchThreadChannel

async fetchThreadChannel(channelId: string) Promise<ThreadChannel | null>

Fetches a thread channel, or null when the channel has another type or does not exist.

Parameters:
  • channelId — – The channel ID to fetch.